# AutoScalingGroupProperty

Identifies the Amazon EC2 Auto Scaling group that Image Builder takes the build instance from, and how long Image Builder waits when the group has no instance available.

- Source: Generated code
- Type last changed: v2.276.0 · 10 Nov 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_imagebuilder as imagebuilder } from 'aws-cdk-lib';
const autoScalingGroupProperty: imagebuilder.CfnInfrastructureConfiguration.AutoScalingGroupProperty = {
  name: 'name',

  // the properties below are optional
  capacityWaitTimeoutSeconds: 123,
};
```

## Properties

- `capacityWaitTimeoutSeconds`: number — The number of seconds that Image Builder waits for an instance to become available in the group before the build fails.

  If you set this value to 0 or omit it, the build fails as soon as the group has no instance available.

- `name`: string (required) — The name of the Auto Scaling group, in the same account and AWS Region as the infrastructure configuration.
