@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:05.175Z") @Stability(value=Experimental) 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()
(experimental) Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service.
|
@Stability(value=Experimental) @Nullable default Duration getGrace()
Default: Duration.seconds(0)
@Stability(value=Experimental) static Ec2HealthCheckOptions.Builder builder()
Ec2HealthCheckOptions.Builder of Ec2HealthCheckOptionsCopyright © 2021. All rights reserved.