Interface Ec2HealthCheckOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Ec2HealthCheckOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:45.366Z")
@Stability(Stable)
public interface Ec2HealthCheckOptions
extends software.amazon.jsii.JsiiSerializable
EC2 Heath check options.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forEc2HealthCheckOptionsstatic final classAn implementation forEc2HealthCheckOptions -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGrace
Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service.Default: Duration.seconds(0)
-
builder
- Returns:
- a
Ec2HealthCheckOptions.BuilderofEc2HealthCheckOptions
-