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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnService.HealthCheckConfigurationProperty
static final class
An implementation forCfnService.HealthCheckConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Number
The number of consecutive checks that must succeed before App Runner decides that the service is healthy.default Number
The time interval, in seconds, between health checks.default String
getPath()
The URL that health check requests are sent to.default String
The IP protocol that App Runner uses to perform health checks for your service.default Number
The time, in seconds, to wait for a health check response before deciding it failed.default Number
The 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.Path
is only applicable when you setProtocol
toHTTP
.Default:
"/"
- See Also:
-
getProtocol
The IP protocol that App Runner uses to perform health checks for your service.If you set
Protocol
toHTTP
, 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
-