aws-cdk-lib.aws_autoscaling.ElbHealthCheckOptions

interface ElbHealthCheckOptions

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

ELB 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 elbHealthCheckOptions: autoscaling.ElbHealthCheckOptions = {
  grace: cdk.Duration.minutes(30),
};

Properties

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

grace

Type: Duration

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

This option is required for ELB health checks.