Interface IEc2HealthCheckOptions
- Namespace
- Amazon.CDK.AWS.AutoScaling
- Assembly
- Amazon.CDK.AWS.AutoScaling.dll
EC2 Heath check options.
public interface IEc2HealthCheckOptions
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
Properties
Grace
Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service.
Duration? Grace { get; }
Property Value
- Duration
Remarks
Default: Duration.seconds(0)