public static interface HealthCheckCustomConfig.Builder extends SdkPojo, CopyableBuilder<HealthCheckCustomConfig.Builder,HealthCheckCustomConfig>
Modifier and Type | Method and Description |
---|---|
HealthCheckCustomConfig.Builder |
failureThreshold(Integer failureThreshold)
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. |
copy
applyMutation, build
HealthCheckCustomConfig.Builder failureThreshold(Integer failureThreshold)
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. For example, suppose you specify a value of 2
for FailureTheshold
, and
then your application sends an UpdateInstanceCustomHealthStatus
request. Cloud Map 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. Cloud Map still
waits FailureThreshold x 30
seconds after the first request to make the change.
failureThreshold
- 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. For example, suppose you specify a value of 2
for FailureTheshold
,
and then your application sends an UpdateInstanceCustomHealthStatus
request. Cloud Map
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.
Cloud Map still waits FailureThreshold x 30
seconds after the first request to make the
change.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.