Interface HealthCheckCustomConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HealthCheckCustomConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:45.627Z")
@Stability(Stable)
public interface HealthCheckCustomConfig
extends software.amazon.jsii.JsiiSerializable
Specifies information about an optional custom health check.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.servicediscovery.*; HealthCheckCustomConfig healthCheckCustomConfig = HealthCheckCustomConfig.builder() .failureThreshold(123) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forHealthCheckCustomConfig
static final class
An implementation forHealthCheckCustomConfig
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFailureThreshold
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
-
builder
- Returns:
- a
HealthCheckCustomConfig.Builder
ofHealthCheckCustomConfig
-