Class Ec2HealthCheckOptions
- Namespace
- Amazon.CDK.AWS.AutoScaling
- Assembly
- Amazon.CDK.AWS.AutoScaling.dll
EC2 Heath check options.
public class Ec2HealthCheckOptions : IEc2HealthCheckOptions
- Inheritance
-
Ec2HealthCheckOptions
- Implements
- Inherited Members
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AutoScaling;
using Amazon.CDK;
var ec2HealthCheckOptions = new Ec2HealthCheckOptions {
Grace = Duration.Minutes(30)
};
Remarks
ExampleMetadata: fixture=_generated
Constructors
Ec2HealthCheckOptions()
public Ec2HealthCheckOptions()
Properties
Grace
Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service.
public Duration? Grace { get; set; }
Property Value
- Duration
Remarks
Default: Duration.seconds(0)