# HealthCheckConfig

All Properties for Health Checks for mesh endpoints.

- Source: [`aws-appmesh/lib/health-checks.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-appmesh/lib/health-checks.ts#L65)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appmesh as appmesh } from 'aws-cdk-lib';
const healthCheckConfig: appmesh.HealthCheckConfig = {
  virtualGatewayHealthCheck: {
    healthyThreshold: 123,
    intervalMillis: 123,
    protocol: 'protocol',
    timeoutMillis: 123,
    unhealthyThreshold: 123,

    // the properties below are optional
    path: 'path',
    port: 123,
  },
  virtualNodeHealthCheck: {
    healthyThreshold: 123,
    intervalMillis: 123,
    protocol: 'protocol',
    timeoutMillis: 123,
    unhealthyThreshold: 123,

    // the properties below are optional
    path: 'path',
    port: 123,
  },
};
```

## Properties

- `virtualGatewayHealthCheck`: [CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_appmesh.CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty.html) = no health checks — VirtualGateway CFN configuration for Health Checks.

- `virtualNodeHealthCheck`: [CfnVirtualNode.HealthCheckProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_appmesh.CfnVirtualNode.HealthCheckProperty.html) = no health checks — VirtualNode CFN configuration for Health Checks.
