aws-cdk-lib.aws_appmesh.HealthCheckConfig

interface HealthCheckConfig

LanguageType name
.NETAmazon.CDK.AWS.AppMesh.HealthCheckConfig
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#HealthCheckConfig
Javasoftware.amazon.awscdk.services.appmesh.HealthCheckConfig
Pythonaws_cdk.aws_appmesh.HealthCheckConfig
TypeScript (source)aws-cdk-lib » aws_appmesh » HealthCheckConfig

Obtainable from HealthCheck.bind()

All Properties for Health Checks for mesh endpoints.

Example

// 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

NameTypeDescription
virtualGatewayHealthCheck?VirtualGatewayHealthCheckPolicyPropertyVirtualGateway CFN configuration for Health Checks.
virtualNodeHealthCheck?HealthCheckPropertyVirtualNode CFN configuration for Health Checks.

virtualGatewayHealthCheck?

Type: VirtualGatewayHealthCheckPolicyProperty (optional, default: no health checks)

VirtualGateway CFN configuration for Health Checks.


virtualNodeHealthCheck?

Type: HealthCheckProperty (optional, default: no health checks)

VirtualNode CFN configuration for Health Checks.