Skip to content

HealthCheck

Source: src/AWS/Route53/HealthCheck.ts

A Route 53 health check.

HealthCheck monitors the health of an endpoint and can gate failover and other routing policies on a Record via record.healthCheckId.

const check = yield* HealthCheck("ApiHealth", {
type: "HTTP",
fullyQualifiedDomainName: "api.example.com",
resourcePath: "/health",
port: 80,
requestInterval: 30,
failureThreshold: 3,
});