Interface HealthCheckCustomConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HealthCheckCustomConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-09-10T01:10:16.392Z")
@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
Nested ClassesModifier 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
-