@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-28T21:34:27.892Z")
public interface TcpHealthCheckOptions
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.*; import software.amazon.awscdk.core.*; TcpHealthCheckOptions tcpHealthCheckOptions = TcpHealthCheckOptions.builder() .healthyThreshold(123) .interval(Duration.minutes(30)) .timeout(Duration.minutes(30)) .unhealthyThreshold(123) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
TcpHealthCheckOptions.Builder
A builder for
TcpHealthCheckOptions |
static class |
TcpHealthCheckOptions.Jsii$Proxy
An implementation for
TcpHealthCheckOptions |
Modifier and Type | Method and Description |
---|---|
static TcpHealthCheckOptions.Builder |
builder() |
default java.lang.Number |
getHealthyThreshold()
The number of consecutive successful health checks that must occur before declaring listener healthy.
|
default Duration |
getInterval()
The time period between each health check execution.
|
default Duration |
getTimeout()
The amount of time to wait when receiving a response from the health check.
|
default java.lang.Number |
getUnhealthyThreshold()
The number of consecutive failed health checks that must occur before declaring a listener unhealthy.
|
default java.lang.Number getHealthyThreshold()
Default: 2
default Duration getInterval()
Default: Duration.seconds(5)
default Duration getTimeout()
Default: Duration.seconds(2)
default java.lang.Number getUnhealthyThreshold()
Default: - 2
static TcpHealthCheckOptions.Builder builder()
TcpHealthCheckOptions.Builder
of TcpHealthCheckOptions