You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Lightsail::Types::ContainerServiceHealthCheckConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::ContainerServiceHealthCheckConfig
- Defined in:
- (unknown)
Overview
When passing ContainerServiceHealthCheckConfig as input to an Aws::Client method, you can use a vanilla Hash:
{
healthy_threshold: 1,
unhealthy_threshold: 1,
timeout_seconds: 1,
interval_seconds: 1,
path: "string",
success_codes: "string",
}
Describes the health check configuration of an Amazon Lightsail container service.
Returned by:
Instance Attribute Summary collapse
-
#healthy_threshold ⇒ Integer
The number of consecutive health checks successes required before moving the container to the
Healthy
state. -
#interval_seconds ⇒ Integer
The approximate interval, in seconds, between health checks of an individual container.
-
#path ⇒ String
The path on the container on which to perform the health check.
-
#success_codes ⇒ String
The HTTP codes to use when checking for a successful response from a container.
-
#timeout_seconds ⇒ Integer
The amount of time, in seconds, during which no response means a failed health check.
-
#unhealthy_threshold ⇒ Integer
The number of consecutive health check failures required before moving the container to the
Unhealthy
state.
Instance Attribute Details
#healthy_threshold ⇒ Integer
The number of consecutive health checks successes required before moving
the container to the Healthy
state.
#interval_seconds ⇒ Integer
The approximate interval, in seconds, between health checks of an individual container. You may specify between 5 and 300 seconds.
#path ⇒ String
The path on the container on which to perform the health check.
#success_codes ⇒ String
The HTTP codes to use when checking for a successful response from a container. You can specify values between 200 and 499.
#timeout_seconds ⇒ Integer
The amount of time, in seconds, during which no response means a failed health check. You may specify between 2 and 60 seconds.
#unhealthy_threshold ⇒ Integer
The number of consecutive health check failures required before moving
the container to the Unhealthy
state.