Skip to content
v2.275.0

Ec2HealthCheckOptions Struct ​

EC2 Heath check options.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
import { aws_autoscaling as autoscaling } from 'aws-cdk-lib';
const ec2HealthCheckOptions: autoscaling.Ec2HealthCheckOptions = {
  grace: cdk.Duration.minutes(30),
};

Properties ​

graceoptionalDurationgraceoptionalDurationgraceoptionalDurationGraceoptionalDurationGraceoptionalDuration= Duration.seconds(0)#
Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service.