# Ec2HealthCheckOptions

EC2 Heath check options.

- Source: [`aws-autoscaling/lib/auto-scaling-group.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-autoscaling/lib/auto-scaling-group.ts#L2633)
- Type last changed: v2.182.0 · 5 Mar 2025

## Example

```ts
// 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

- `grace`: [Duration](/cdk/api/v2/docs/aws-cdk-lib.Duration.html) = Duration.seconds(0) — Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service.
