# CapacityProviderReference

A reference to a CapacityProvider resource.

- Source: Generated code
- 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 interfaces_lambda } from 'aws-cdk-lib/interfaces';
const capacityProviderReference: interfaces_lambda.CapacityProviderReference = {
  capacityProviderArn: 'capacityProviderArn',
  capacityProviderName: 'capacityProviderName',
};
```

## Properties

- `capacityProviderArn`: string (required) — The ARN of the CapacityProvider resource.

- `capacityProviderName`: string (required) — The CapacityProviderName of the CapacityProvider resource.
