interface GrpcHealthCheckOptions
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.AppMesh.GrpcHealthCheckOptions | 
|  Java | software.amazon.awscdk.services.appmesh.GrpcHealthCheckOptions | 
|  Python | aws_cdk.aws_appmesh.GrpcHealthCheckOptions | 
|  TypeScript (source) | @aws-cdk/aws-appmesh»GrpcHealthCheckOptions | 
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 * as appmesh from '@aws-cdk/aws-appmesh';
import * as cdk from '@aws-cdk/core';
const grpcHealthCheckOptions: appmesh.GrpcHealthCheckOptions = {
  healthyThreshold: 123,
  interval: cdk.Duration.minutes(30),
  timeout: cdk.Duration.minutes(30),
  unhealthyThreshold: 123,
};
Properties
| Name | Type | Description | 
|---|---|---|
| healthy | number | The number of consecutive successful health checks that must occur before declaring listener healthy. | 
| interval? | Duration | The time period between each health check execution. | 
| timeout? | Duration | The amount of time to wait when receiving a response from the health check. | 
| unhealthy | number | The number of consecutive failed health checks that must occur before declaring a listener unhealthy. | 
healthyThreshold?
Type:
number
(optional, default: 2)
The number of consecutive successful health checks that must occur before declaring listener healthy.
interval?
Type:
Duration
(optional, default: Duration.seconds(5))
The time period between each health check execution.
timeout?
Type:
Duration
(optional, default: Duration.seconds(2))
The amount of time to wait when receiving a response from the health check.
unhealthyThreshold?
Type:
number
(optional, default: 2)
The number of consecutive failed health checks that must occur before declaring a listener unhealthy.
