ContainerServiceHealthCheckConfig
¶
Source code in docs_src/capo_lightsail/types/container_service_health_check_config.py
healthy_threshold
instance-attribute
¶
healthy_threshold: NotRequired[integer]
The number of consecutive health checks successes required before moving the container to the Healthy state. The default value is 2.
interval_seconds
instance-attribute
¶
interval_seconds: NotRequired[integer]
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
instance-attribute
¶
path: NotRequired[string]
The path on the container on which to perform the health check. The default value is /.
success_codes
instance-attribute
¶
success_codes: NotRequired[string]
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).