Created
October 25, 2020 09:49
-
-
Save brianfoody/f61c17c58a81492c819606832a1e65fa to your computer and use it in GitHub Desktop.
HealthCheck
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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