# CapacityProviderAttributes

Attributes for importing an existing Lambda capacity provider.

- Source: [`aws-lambda/lib/capacity-provider.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-lambda/lib/capacity-provider.ts#L326)
- Type last changed: v2.231.0 · 1 Dec 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const capacityProviderAttributes: lambda.CapacityProviderAttributes = {
  capacityProviderArn: 'capacityProviderArn',
};
```

## Properties

- `capacityProviderArn`: string (required) — The Amazon Resource Name (ARN) of the capacity provider.

  Format: arn:<partition>:lambda:<region>:<account-id>:capacity-provider:<capacity-provider-name>
