ContainerHealthCheck
¶
Source code in docs_src/capo_gamelift/types/container_health_check.py
command
instance-attribute
¶
command: NotRequired[ContainerCommandStringList]
A string array that specifies the command that the container runs to determine if it's healthy.
interval
instance-attribute
¶
interval: NotRequired[ContainerHealthCheckInterval]
The time period (in seconds) between each health check.
retries
instance-attribute
¶
retries: NotRequired[ContainerHealthCheckRetries]
The number of times to retry a failed health check before flagging the container unhealthy. The first run of the command does not count as a retry.
start_period
instance-attribute
¶
start_period: NotRequired[ContainerHealthCheckStartPeriod]
The optional grace period (in seconds) to give a container time to bootstrap before the first failed health check counts toward the number of retries.
timeout
instance-attribute
¶
timeout: NotRequired[ContainerHealthCheckTimeout]
The time period (in seconds) to wait for a health check to succeed before counting a failed health check.