Interface Ec2HealthCheckOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Ec2HealthCheckOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:04.691Z")
@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.*;
import software.amazon.awscdk.services.autoscaling.*;
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
-