# LambdaManagedInstancesCapacityProviderConfigProperty

Configuration for Lambda-managed instances used by the capacity provider.

- Source: Generated at build time
- Type last changed: v2.231.0 · 1 Dec 2025

## Example

TypeScript:

```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 lambdaManagedInstancesCapacityProviderConfigProperty: lambda.CfnFunction.LambdaManagedInstancesCapacityProviderConfigProperty = {
  capacityProviderArn: 'capacityProviderArn',

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

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lambda as lambda_

lambda_managed_instances_capacity_provider_config_property = lambda.CfnFunction.LambdaManagedInstancesCapacityProviderConfigProperty(
    capacity_provider_arn="capacityProviderArn",

    # the properties below are optional
    execution_environment_memory_gi_b_per_v_cpu=123,
    per_execution_environment_max_concurrency=123
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;

LambdaManagedInstancesCapacityProviderConfigProperty lambdaManagedInstancesCapacityProviderConfigProperty = LambdaManagedInstancesCapacityProviderConfigProperty.builder()
        .capacityProviderArn("capacityProviderArn")

        // the properties below are optional
        .executionEnvironmentMemoryGiBPerVCpu(123)
        .perExecutionEnvironmentMaxConcurrency(123)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lambda;

var lambdaManagedInstancesCapacityProviderConfigProperty = new LambdaManagedInstancesCapacityProviderConfigProperty {
    CapacityProviderArn = "capacityProviderArn",

    // the properties below are optional
    ExecutionEnvironmentMemoryGiBPerVCpu = 123,
    PerExecutionEnvironmentMaxConcurrency = 123
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

lambdaManagedInstancesCapacityProviderConfigProperty := &LambdaManagedInstancesCapacityProviderConfigProperty{
	CapacityProviderArn: jsii.String("capacityProviderArn"),

	// the properties below are optional
	ExecutionEnvironmentMemoryGiBPerVCpu: jsii.Number(123),
	PerExecutionEnvironmentMaxConcurrency: jsii.Number(123),
}
```

## Properties

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

- `executionEnvironmentMemoryGiBPerVCpu`: number — The amount of memory in GiB allocated per vCPU for execution environments.

- `perExecutionEnvironmentMaxConcurrency`: number — The maximum number of concurrent executions that can run on each execution environment.
