Interface CfnService.HealthCheckConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnService.HealthCheckConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnService
@Stability(Stable)
public static interface CfnService.HealthCheckConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Describes the settings for the health check that AWS App Runner performs to monitor the health of a service.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apprunner.*;
HealthCheckConfigurationProperty healthCheckConfigurationProperty = HealthCheckConfigurationProperty.builder()
.healthyThreshold(123)
.interval(123)
.path("path")
.protocol("protocol")
.timeout(123)
.unhealthyThreshold(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnService.HealthCheckConfigurationPropertystatic final classAn implementation forCfnService.HealthCheckConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumberThe number of consecutive checks that must succeed before App Runner decides that the service is healthy.default NumberThe time interval, in seconds, between health checks.default StringgetPath()The URL that health check requests are sent to.default StringThe IP protocol that App Runner uses to perform health checks for your service.default NumberThe time, in seconds, to wait for a health check response before deciding it failed.default NumberThe number of consecutive checks that must fail before App Runner decides that the service is unhealthy.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHealthyThreshold
The number of consecutive checks that must succeed before App Runner decides that the service is healthy.Default:
1- See Also:
-
getInterval
The time interval, in seconds, between health checks.Default:
5- See Also:
-
getPath
The URL that health check requests are sent to.Pathis only applicable when you setProtocoltoHTTP.Default:
"/"- See Also:
-
getProtocol
The IP protocol that App Runner uses to perform health checks for your service.If you set
ProtocoltoHTTP, App Runner sends health check requests to the HTTP path specified byPath.Default:
TCP- See Also:
-
getTimeout
The time, in seconds, to wait for a health check response before deciding it failed.Default:
2- See Also:
-
getUnhealthyThreshold
The number of consecutive checks that must fail before App Runner decides that the service is unhealthy.Default:
5- See Also:
-
builder
-