> **Experimental**
>
> `@aws-cdk/aws-apprunner-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# AutoScalingConfigurationProps

Properties of the App Runner Auto Scaling Configuration.

Extends: AutoScalingConfigurationProps
Used as props by: AutoScalingConfiguration

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/auto-scaling-configuration.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-apprunner-alpha/lib/auto-scaling-configuration.ts#L11)

## Example

```ts
const autoScalingConfiguration = new apprunner.AutoScalingConfiguration(this, 'AutoScalingConfiguration', {
  autoScalingConfigurationName: 'MyAutoScalingConfiguration',
  maxConcurrency: 150,
  maxSize: 20,
  minSize: 5,
});

new apprunner.Service(this, 'DemoService', {
  source: apprunner.Source.fromEcrPublic({
    imageConfiguration: { port: 8000 },
    imageIdentifier: 'public.ecr.aws/aws-containers/hello-app-runner:latest',
  }),
  autoScalingConfiguration,
});
```

## Properties

- `autoScalingConfigurationName`: string — The name for the Auto Scaling Configuration.

  **Default:** a name generated by CloudFormation

- `maxConcurrency`: number = 100 — The maximum number of concurrent requests that an instance processes.

  If the number of concurrent requests exceeds this limit, App Runner scales the service up.

  Must be between 1 and 200.

- `maxSize`: number = 25 — The maximum number of instances that a service scales up to.

  At most maxSize instances actively serve traffic for your service.

  Must be between 1 and 25.

- `minSize`: number = 1 — The minimum number of instances that App Runner provisions for a service.

  The service always has at least minSize provisioned instances.

  Must be between 1 and 25.
