interface Ec2HealthCheckOptions
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AutoScaling.Ec2HealthCheckOptions |
Java | software.amazon.awscdk.services.autoscaling.Ec2HealthCheckOptions |
Python | aws_cdk.aws_autoscaling.Ec2HealthCheckOptions |
TypeScript (source) | @aws-cdk/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 autoscaling from '@aws-cdk/aws-autoscaling';
import * as cdk from '@aws-cdk/core';
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.