Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ContainerServiceHealthCheckConfig

import type { ContainerServiceHealthCheckConfig } from "https://aws-api.deno.dev/v0.3/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).

§
timeoutSeconds?: number | null
[src]

The amount of time, in seconds, during which no response means a failed health check. You can specify between 2 and 60 seconds. The default value is 2.

§
unhealthyThreshold?: number | null
[src]

The number of consecutive health check failures required before moving the container to the Unhealthy state. The default value is 2.