class Aws::Lightsail::Types::ContainerServiceHealthCheckConfig
Describes the health check configuration of an Amazon Lightsail
container service.
@note When making an API call, you may pass ContainerServiceHealthCheckConfig
data as a hash: { healthy_threshold: 1, unhealthy_threshold: 1, timeout_seconds: 1, interval_seconds: 1, path: "string", success_codes: "string", }
@!attribute [rw] healthy_threshold
The number of consecutive health checks successes required before moving the container to the `Healthy` state. The default value is `2`. @return [Integer]
@!attribute [rw] unhealthy_threshold
The number of consecutive health check failures required before moving the container to the `Unhealthy` state. The default value is `2`. @return [Integer]
@!attribute [rw] timeout_seconds
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`. @return [Integer]
@!attribute [rw] interval_seconds
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`. @return [Integer]
@!attribute [rw] path
The path on the container on which to perform the health check. The default value is `/`. @return [String]
@!attribute [rw] success_codes
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`). @return [String]
@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ContainerServiceHealthCheckConfig AWS API Documentation
Constants
- SENSITIVE