HealthCheckConfig

class aws_cdk.aws_appmesh.HealthCheckConfig(*, virtual_gateway_health_check=None, virtual_node_health_check=None)

Bases: object

All Properties for Health Checks for mesh endpoints.

Parameters:
  • virtual_gateway_health_check (Union[VirtualGatewayHealthCheckPolicyProperty, Dict[str, Any], None]) – VirtualGateway CFN configuration for Health Checks. Default: - no health checks

  • virtual_node_health_check (Union[HealthCheckProperty, Dict[str, Any], None]) – VirtualNode CFN configuration for Health Checks. Default: - no health checks

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appmesh as appmesh

health_check_config = appmesh.HealthCheckConfig(
    virtual_gateway_health_check=appmesh.CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty(
        healthy_threshold=123,
        interval_millis=123,
        protocol="protocol",
        timeout_millis=123,
        unhealthy_threshold=123,

        # the properties below are optional
        path="path",
        port=123
    ),
    virtual_node_health_check=appmesh.CfnVirtualNode.HealthCheckProperty(
        healthy_threshold=123,
        interval_millis=123,
        protocol="protocol",
        timeout_millis=123,
        unhealthy_threshold=123,

        # the properties below are optional
        path="path",
        port=123
    )
)

Attributes

virtual_gateway_health_check

VirtualGateway CFN configuration for Health Checks.

Default:
  • no health checks

virtual_node_health_check

VirtualNode CFN configuration for Health Checks.

Default:
  • no health checks