@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:45.690Z") @Stability(value=Stable) public interface Ec2HealthCheckOptions extends software.amazon.jsii.JsiiSerializable
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.autoscaling.*;
import software.amazon.awscdk.core.*;
Ec2HealthCheckOptions ec2HealthCheckOptions = Ec2HealthCheckOptions.builder()
.grace(Duration.minutes(30))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
Ec2HealthCheckOptions.Builder
A builder for
Ec2HealthCheckOptions |
static class |
Ec2HealthCheckOptions.Jsii$Proxy
An implementation for
Ec2HealthCheckOptions |
| Modifier and Type | Method and Description |
|---|---|
static Ec2HealthCheckOptions.Builder |
builder() |
default Duration |
getGrace()
Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service.
|
@Stability(value=Stable) @Nullable default Duration getGrace()
Default: Duration.seconds(0)
@Stability(value=Stable) static Ec2HealthCheckOptions.Builder builder()
Ec2HealthCheckOptions.Builder of Ec2HealthCheckOptionsCopyright © 2022. All rights reserved.