HealthCheckCustomConfig

class aws_cdk.aws_servicediscovery.HealthCheckCustomConfig(*, failure_threshold=None)

Bases: object

Specifies information about an optional custom health check.

Parameters:

failure_threshold (Union[int, float, None]) – The number of 30-second intervals that you want Cloud Map to wait after receiving an UpdateInstanceCustomHealthStatus request before it changes the health status of a service instance. Default: 1

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_servicediscovery as servicediscovery

health_check_custom_config = servicediscovery.HealthCheckCustomConfig(
    failure_threshold=123
)

Attributes

failure_threshold

The number of 30-second intervals that you want Cloud Map to wait after receiving an UpdateInstanceCustomHealthStatus request before it changes the health status of a service instance.

Default:

1