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();
-
Nested Class Summary
Nested ClassesModifier 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
-
getInterval
The time interval, in seconds, between health checks.Default:
5
-
getPath
The URL that health check requests are sent to.Path
is only applicable when you setProtocol
toHTTP
.Default:
"/"
-
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
-
getTimeout
The time, in seconds, to wait for a health check response before deciding it failed.Default:
2
-
getUnhealthyThreshold
The number of consecutive checks that must fail before App Runner decides that the service is unhealthy.Default:
5
-
builder
-