@Stability(value=Stable) public static final class CfnContainer.HealthCheckConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnContainer.HealthCheckConfigProperty>
CfnContainer.HealthCheckConfigProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnContainer.HealthCheckConfigProperty.Builder healthyThreshold(Number healthyThreshold)
CfnContainer.HealthCheckConfigProperty.getHealthyThreshold()healthyThreshold - The number of consecutive health check successes required before moving the container to the `Healthy` state.
The default value is 2 .this@Stability(value=Stable) public CfnContainer.HealthCheckConfigProperty.Builder intervalSeconds(Number intervalSeconds)
CfnContainer.HealthCheckConfigProperty.getIntervalSeconds()intervalSeconds - 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 .this@Stability(value=Stable) public CfnContainer.HealthCheckConfigProperty.Builder path(String path)
CfnContainer.HealthCheckConfigProperty.getPath()path - The path on the container on which to perform the health check.
The default value is / .this@Stability(value=Stable) public CfnContainer.HealthCheckConfigProperty.Builder successCodes(String successCodes)
CfnContainer.HealthCheckConfigProperty.getSuccessCodes()successCodes - 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 ).this@Stability(value=Stable) public CfnContainer.HealthCheckConfigProperty.Builder timeoutSeconds(Number timeoutSeconds)
CfnContainer.HealthCheckConfigProperty.getTimeoutSeconds()timeoutSeconds - 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 .this@Stability(value=Stable) public CfnContainer.HealthCheckConfigProperty.Builder unhealthyThreshold(Number unhealthyThreshold)
CfnContainer.HealthCheckConfigProperty.getUnhealthyThreshold()unhealthyThreshold - The number of consecutive health check failures required before moving the container to the `Unhealthy` state.
The default value is 2 .this@Stability(value=Stable) public CfnContainer.HealthCheckConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnContainer.HealthCheckConfigProperty>CfnContainer.HealthCheckConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.