@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:25.153Z") @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.core.*;
import software.amazon.awscdk.services.autoscaling.*;
Duration duration;
Ec2HealthCheckOptions ec2HealthCheckOptions = Ec2HealthCheckOptions.builder()
.grace(duration)
.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 © 2022. All rights reserved.