@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:02.694Z") @Stability(value=Experimental) public interface GrpcHealthCheckOptions 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.core.*;
import software.amazon.awscdk.services.appmesh.*;
Duration duration;
GrpcHealthCheckOptions grpcHealthCheckOptions = GrpcHealthCheckOptions.builder()
.healthyThreshold(123)
.interval(duration)
.timeout(duration)
.unhealthyThreshold(123)
.build();
| 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 © 2022. All rights reserved.