aws-cdk-lib.aws_autoscaling.Ec2HealthCheckOptions

interface Ec2HealthCheckOptions

LanguageType name
.NETAmazon.CDK.AWS.AutoScaling.Ec2HealthCheckOptions
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsautoscaling#Ec2HealthCheckOptions
Javasoftware.amazon.awscdk.services.autoscaling.Ec2HealthCheckOptions
Pythonaws_cdk.aws_autoscaling.Ec2HealthCheckOptions
TypeScript (source)aws-cdk-lib » aws_autoscaling » Ec2HealthCheckOptions

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 * 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

NameTypeDescription
grace?DurationSpecified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service.

grace?

Type: Duration (optional, default: Duration.seconds(0))

Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service.