AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS Cloud Map ServiceDiscovery Service HealthCheckCustomConfig

The HealthCheckCustomConfig property type specifies information about an optional custom health check.

HealthCheckCustomConfig is a property of the AWS::ServiceDiscovery::Service resource.


To declare this entity in your AWS CloudFormation template, use the following syntax:


{ "FailureThreshold" : Double }


FailureThreshold: Double



The number of 30-second intervals that you want service discovery to wait after receiving an UpdateInstanceCustomHealthStatus request before it changes the health status of a service instance. For example, suppose you specify a value of 2 for FailureTheshold , and then your application sends an UpdateInstanceCustomHealthStatus request. Service discovery waits for approximately 60 seconds (2 x 30) before changing the status of the service instance based on that request.

Sending a second or subsequent UpdateInstanceCustomHealthStatus request with the same value before FailureThreshold x 30 seconds has passed doesn't accelerate the change. Service discovery still waits FailureThreshold x 30 seconds after the first request to make the change.

Minimum value of 1. Maximum value of 10.

Required: No

Type: Double

Update requires: No interruption

See Also

On this page: