@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.808Z") @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.*;
import software.amazon.awscdk.services.autoscaling.*;
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.