interface HealthCheckProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins.CfnVirtualNodePropsMixin.HealthCheckProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappmesh/mixins#CfnVirtualNodePropsMixin_HealthCheckProperty |
Java | software.amazon.awscdk.mixins.preview.services.appmesh.mixins.CfnVirtualNodePropsMixin.HealthCheckProperty |
Python | aws_cdk.mixins_preview.aws_appmesh.mixins.CfnVirtualNodePropsMixin.HealthCheckProperty |
TypeScript | @aws-cdk/mixins-preview » aws_appmesh » mixins » CfnVirtualNodePropsMixin » HealthCheckProperty |
An object that represents the health check policy for a virtual node's listener.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as appmesh_mixins } from '@aws-cdk/mixins-preview/aws-appmesh';
const healthCheckProperty: appmesh_mixins.CfnVirtualNodePropsMixin.HealthCheckProperty = {
healthyThreshold: 123,
intervalMillis: 123,
path: 'path',
port: 123,
protocol: 'protocol',
timeoutMillis: 123,
unhealthyThreshold: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| healthy | number | The number of consecutive successful health checks that must occur before declaring listener healthy. |
| interval | number | The time period in milliseconds between each health check execution. |
| path? | string | The destination path for the health check request. |
| port? | number | The destination port for the health check request. |
| protocol? | string | The protocol for the health check request. |
| timeout | number | The amount of time to wait when receiving a response from the health check, in milliseconds. |
| unhealthy | number | The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy. |
healthyThreshold?
Type:
number
(optional)
The number of consecutive successful health checks that must occur before declaring listener healthy.
intervalMillis?
Type:
number
(optional)
The time period in milliseconds between each health check execution.
path?
Type:
string
(optional)
The destination path for the health check request.
This value is only used if the specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.
port?
Type:
number
(optional)
The destination port for the health check request.
This port must match the port defined in the PortMapping for the listener.
protocol?
Type:
string
(optional)
The protocol for the health check request.
If you specify grpc , then your service must conform to the GRPC Health Checking Protocol .
timeoutMillis?
Type:
number
(optional)
The amount of time to wait when receiving a response from the health check, in milliseconds.
unhealthyThreshold?
Type:
number
(optional)
The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy.

.NET
Go
Java
Python
TypeScript