interface Ec2HealthCheckOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AutoScaling.Ec2HealthCheckOptions |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsautoscaling#Ec2HealthCheckOptions |
![]() | software.amazon.awscdk.services.autoscaling.Ec2HealthCheckOptions |
![]() | aws_cdk.aws_autoscaling.Ec2HealthCheckOptions |
![]() | 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
Name | Type | Description |
---|---|---|
grace? | Duration | Specified 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.