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 (
Optional
[VirtualGatewayHealthCheckPolicyProperty
]) – VirtualGateway CFN configuration for Health Checks. Default: - no health checksvirtual_node_health_check (
Optional
[HealthCheckProperty
]) – 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. import aws_cdk.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
- Return type
Optional
[VirtualGatewayHealthCheckPolicyProperty
]
-
virtual_node_health_check
¶ VirtualNode CFN configuration for Health Checks.
- Default
no health checks
- Return type
Optional
[HealthCheckProperty
]