@Stability(value=Stable)
public static interface CfnVirtualNode.HealthCheckProperty
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.appmesh.*;
HealthCheckProperty healthCheckProperty = HealthCheckProperty.builder()
.healthyThreshold(123)
.intervalMillis(123)
.protocol("protocol")
.timeoutMillis(123)
.unhealthyThreshold(123)
// the properties below are optional
.path("path")
.port(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnVirtualNode.HealthCheckProperty.Builder
A builder for
CfnVirtualNode.HealthCheckProperty |
static class |
CfnVirtualNode.HealthCheckProperty.Jsii$Proxy
An implementation for
CfnVirtualNode.HealthCheckProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnVirtualNode.HealthCheckProperty.Builder |
builder() |
Number |
getHealthyThreshold()
The number of consecutive successful health checks that must occur before declaring listener healthy.
|
Number |
getIntervalMillis()
The time period in milliseconds between each health check execution.
|
default String |
getPath()
The destination path for the health check request.
|
default Number |
getPort()
The destination port for the health check request.
|
String |
getProtocol()
The protocol for the health check request.
|
Number |
getTimeoutMillis()
The amount of time to wait when receiving a response from the health check, in milliseconds.
|
Number |
getUnhealthyThreshold()
The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy.
|
@Stability(value=Stable) @NotNull Number getHealthyThreshold()
@Stability(value=Stable) @NotNull Number getIntervalMillis()
@Stability(value=Stable) @NotNull String getProtocol()
If you specify grpc , then your service must conform to the GRPC Health Checking Protocol .
@Stability(value=Stable) @NotNull Number getTimeoutMillis()
@Stability(value=Stable) @NotNull Number getUnhealthyThreshold()
@Stability(value=Stable) @Nullable default String getPath()
This value is only used if the specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.
@Stability(value=Stable) @Nullable default Number getPort()
This port must match the port defined in the PortMapping for the listener.
@Stability(value=Stable) static CfnVirtualNode.HealthCheckProperty.Builder builder()
Copyright © 2022. All rights reserved.