interface CapacityProviderAttributes
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.CapacityProviderAttributes |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#CapacityProviderAttributes |
Java | software.amazon.awscdk.services.lambda.CapacityProviderAttributes |
Python | aws_cdk.aws_lambda.CapacityProviderAttributes |
TypeScript (source) | aws-cdk-lib » aws_lambda » CapacityProviderAttributes |
Attributes for importing an existing Lambda capacity provider.
Example
// 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
| Name | Type | Description |
|---|---|---|
| capacity | string | The Amazon Resource Name (ARN) of the capacity provider. |
capacityProviderArn
Type:
string
The Amazon Resource Name (ARN) of the capacity provider.
Format: arn:<partition>:lambda:<region>:<account-id>:capacity-provider:<capacity-provider-name>

.NET
Go
Java
Python
TypeScript (