ContainerServiceHealthCheckConfig
import type { ContainerServiceHealthCheckConfig } from "https://aws-api.deno.dev/v0.4/services/lightsail.ts?docs=full";
Describes the health check configuration of an Amazon Lightsail container service.
interface ContainerServiceHealthCheckConfig {
healthyThreshold?: number | null;
intervalSeconds?: number | null;
path?: string | null;
successCodes?: string | null;
timeoutSeconds?: number | null;
unhealthyThreshold?: number | null;
}§Properties
§
healthyThreshold?: number | null
[src]The number of consecutive health checks successes required before moving the container to the Healthy
state.
The default value is 2
.
§
intervalSeconds?: number | null
[src]The approximate interval, in seconds, between health checks of an individual container.
You can specify between 5 and 300 seconds.
The default value is 5
.
§
path?: string | null
[src]The path on the container on which to perform the health check.
The default value is /
.
§
successCodes?: string | null
[src]The HTTP codes to use when checking for a successful response from a container.
You can specify values between 200
and 499
.
You can specify multiple values (for example, 200,202
) or a range of values (for example, 200-299
).