AWS::Lambda::CapacityProviderCreates a capacity provider that manages compute resources for Lambda functions.
import { CfnCapacityProvider } from 'aws-cdk-lib/aws-lambda';Or use the module namespace:
import * as lambda from 'aws-cdk-lib/aws-lambda';
// lambda.CfnCapacityProviderConfiguration passed to the constructor as CfnCapacityProviderProps.
permissionsConfigRequiredIResolvable | CapacityProviderPermissionsConfigPropertyThe permissions configuration for the capacity provider.
vpcConfigRequiredIResolvable | CapacityProviderVpcConfigPropertyThe VPC configuration for the capacity provider.
capacityProviderNameOptionalstringcapacityProviderScalingConfigOptionalIResolvable | CapacityProviderScalingConfigPropertyThe scaling configuration for the capacity provider.
instanceRequirementsOptionalIResolvable | InstanceRequirementsPropertyThe instance requirements for compute resources managed by the capacity provider.
kmsKeyArnOptionalstringThe ARN of the KMS key used to encrypt the capacity provider's resources.
tagsOptionalCfnTag[]A key-value pair that provides metadata for the capacity provider.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about AWS Lambda on one page. HD quality, print-friendly.
Download Free Infographicaws-lambdaAWS::Lambda::CapacityProvider