Ec2HealthCheckOptions
- class aws_cdk.aws_autoscaling.Ec2HealthCheckOptions(*, grace=None)
Bases:
object
(deprecated) EC2 Heath check options.
- Parameters:
grace (
Optional
[Duration
]) – (deprecated) Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service. Default: Duration.seconds(0)- Deprecated:
Use Ec2HealthChecksOptions instead
- Stability:
deprecated
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk as cdk from aws_cdk import aws_autoscaling as autoscaling ec2_health_check_options = autoscaling.Ec2HealthCheckOptions( grace=cdk.Duration.minutes(30) )
Attributes
- grace
(deprecated) Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service.
- Default:
Duration.seconds(0)
- Stability:
deprecated