Interface GrpcHealthCheckOptions
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- GrpcHealthCheckOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
           date="2025-10-29T11:15:32.323Z")
@Stability(Stable)
public interface GrpcHealthCheckOptions
extends software.amazon.jsii.JsiiSerializable
Properties used to define GRPC Based healthchecks.
 
Example:
 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.*;
 import software.amazon.awscdk.services.appmesh.*;
 GrpcHealthCheckOptions grpcHealthCheckOptions = GrpcHealthCheckOptions.builder()
         .healthyThreshold(123)
         .interval(Duration.minutes(30))
         .timeout(Duration.minutes(30))
         .unhealthyThreshold(123)
         .build();
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forGrpcHealthCheckOptionsstatic final classAn implementation forGrpcHealthCheckOptions
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()default NumberThe number of consecutive successful health checks that must occur before declaring listener healthy.default DurationThe time period between each health check execution.default DurationThe amount of time to wait when receiving a response from the health check.default NumberThe number of consecutive failed health checks that must occur before declaring a listener unhealthy.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getHealthyThresholdThe number of consecutive successful health checks that must occur before declaring listener healthy.Default: 2 
- 
getIntervalThe time period between each health check execution.Default: Duration.seconds(5) 
- 
getTimeoutThe amount of time to wait when receiving a response from the health check.Default: Duration.seconds(2) 
- 
getUnhealthyThresholdThe number of consecutive failed health checks that must occur before declaring a listener unhealthy.Default: - 2 
- 
builder- Returns:
- a GrpcHealthCheckOptions.BuilderofGrpcHealthCheckOptions
 
 
-