Skip to content

Instantly share code, notes, and snippets.

@brianfoody
Created October 25, 2020 09:49
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save brianfoody/f61c17c58a81492c819606832a1e65fa to your computer and use it in GitHub Desktop.
HealthCheck
new CfnHealthCheck(this, "ApiHealthCheck", {
healthCheckConfig: {
port: 443,
type: "HTTPS",
resourcePath: "/prod/system/health/check",
fullyQualifiedDomainName: `${this.api.restApiId}.execute-api.${props.region}.amazonaws.com`,
requestInterval: 30,
failureThreshold: 2
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment