@Stability(value=Stable)
public static interface CfnService.HealthCheckConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnService.HealthCheckConfigurationProperty.Builder
A builder for
CfnService.HealthCheckConfigurationProperty |
static class |
CfnService.HealthCheckConfigurationProperty.Jsii$Proxy
An implementation for
CfnService.HealthCheckConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnService.HealthCheckConfigurationProperty.Builder |
builder() |
default Number |
getHealthyThreshold()
The number of consecutive checks that must succeed before App Runner decides that the service is healthy.
|
default Number |
getInterval()
The time interval, in seconds, between health checks.
|
default String |
getPath()
The URL that health check requests are sent to.
|
default String |
getProtocol()
The IP protocol that App Runner uses to perform health checks for your service.
|
default Number |
getTimeout()
The time, in seconds, to wait for a health check response before deciding it failed.
|
default Number |
getUnhealthyThreshold()
The number of consecutive checks that must fail before App Runner decides that the service is unhealthy.
|
@Stability(value=Stable) @Nullable default Number getHealthyThreshold()
Default: 1
@Stability(value=Stable) @Nullable default Number getInterval()
Default: 5
@Stability(value=Stable) @Nullable default String getPath()
Path is only applicable when you set Protocol to HTTP .
Default: "/"
@Stability(value=Stable) @Nullable default String getProtocol()
If you set Protocol to HTTP , App Runner sends health check requests to the HTTP path specified by Path .
Default: TCP
@Stability(value=Stable) @Nullable default Number getTimeout()
Default: 2
@Stability(value=Stable) @Nullable default Number getUnhealthyThreshold()
Default: 5
@Stability(value=Stable) static CfnService.HealthCheckConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.