# CapacityProviderConfigProperty

Configuration for the capacity provider that manages compute resources for Lambda functions.

- 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 lambda } from 'aws-cdk-lib';
const capacityProviderConfigProperty: lambda.CfnFunction.CapacityProviderConfigProperty = {
  lambdaManagedInstancesCapacityProviderConfig: {
    capacityProviderArn: 'capacityProviderArn',

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

## Properties

- `lambdaManagedInstancesCapacityProviderConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFunction.LambdaManagedInstancesCapacityProviderConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.CfnFunction.LambdaManagedInstancesCapacityProviderConfigProperty.html) (required) — Configuration for Lambda-managed instances used by the capacity provider.
