@Stability(value=Stable) public static final class CfnService.HealthCheckConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnService.HealthCheckConfigurationProperty>
CfnService.HealthCheckConfigurationProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnService.HealthCheckConfigurationProperty.Builder healthyThreshold(Number healthyThreshold)
CfnService.HealthCheckConfigurationProperty.getHealthyThreshold()healthyThreshold - The number of consecutive checks that must succeed before App Runner decides that the service is healthy.
Default: 1this@Stability(value=Stable) public CfnService.HealthCheckConfigurationProperty.Builder interval(Number interval)
CfnService.HealthCheckConfigurationProperty.getInterval()interval - The time interval, in seconds, between health checks.
Default: 5this@Stability(value=Stable) public CfnService.HealthCheckConfigurationProperty.Builder path(String path)
CfnService.HealthCheckConfigurationProperty.getPath()path - The URL that health check requests are sent to.
Path is only applicable when you set Protocol to HTTP .
Default: "/"
this@Stability(value=Stable) public CfnService.HealthCheckConfigurationProperty.Builder protocol(String protocol)
CfnService.HealthCheckConfigurationProperty.getProtocol()protocol - The IP protocol that App Runner uses to perform health checks for your service.
If you set Protocol to HTTP , App Runner sends health check requests to the HTTP path specified by Path .
Default: TCP
this@Stability(value=Stable) public CfnService.HealthCheckConfigurationProperty.Builder timeout(Number timeout)
CfnService.HealthCheckConfigurationProperty.getTimeout()timeout - The time, in seconds, to wait for a health check response before deciding it failed.
Default: 2this@Stability(value=Stable) public CfnService.HealthCheckConfigurationProperty.Builder unhealthyThreshold(Number unhealthyThreshold)
CfnService.HealthCheckConfigurationProperty.getUnhealthyThreshold()unhealthyThreshold - The number of consecutive checks that must fail before App Runner decides that the service is unhealthy.
Default: 5this@Stability(value=Stable) public CfnService.HealthCheckConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnService.HealthCheckConfigurationProperty>CfnService.HealthCheckConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.