@Generated(value="jsii-pacmak/1.31.0 (build 6fa403d)", date="2021-08-11T10:32:10.413Z") @Stability(value=Experimental) public interface GrpcHealthCheckOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
GrpcHealthCheckOptions.Builder
A builder for
GrpcHealthCheckOptions |
static class |
GrpcHealthCheckOptions.Jsii$Proxy
An implementation for
GrpcHealthCheckOptions |
| Modifier and Type | Method and Description |
|---|---|
static GrpcHealthCheckOptions.Builder |
builder() |
default Number |
getHealthyThreshold()
(experimental) The number of consecutive successful health checks that must occur before declaring listener healthy.
|
default Duration |
getInterval()
(experimental) The time period between each health check execution.
|
default Duration |
getTimeout()
(experimental) The amount of time to wait when receiving a response from the health check.
|
default Number |
getUnhealthyThreshold()
(experimental) The number of consecutive failed health checks that must occur before declaring a listener unhealthy.
|
@Stability(value=Experimental) @Nullable default Number getHealthyThreshold()
Default: 2
@Stability(value=Experimental) @Nullable default Duration getInterval()
Default: Duration.seconds(5)
@Stability(value=Experimental) @Nullable default Duration getTimeout()
Default: Duration.seconds(2)
@Stability(value=Experimental) @Nullable default Number getUnhealthyThreshold()
Default: - 2
@Stability(value=Experimental) static GrpcHealthCheckOptions.Builder builder()
GrpcHealthCheckOptions.Builder of GrpcHealthCheckOptionsCopyright © 2021. All rights reserved.