This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::Lambda::CapacityProvider
Creates a capacity provider that manages compute resources for Lambda functions
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::Lambda::CapacityProvider", "Properties" : { "CapacityProviderName" :String, "CapacityProviderScalingConfig" :CapacityProviderScalingConfig, "InstanceRequirements" :InstanceRequirements, "KmsKeyArn" :String, "PermissionsConfig" :CapacityProviderPermissionsConfig, "Tags" :[ Tag, ... ], "VpcConfig" :CapacityProviderVpcConfig} }
YAML
Type: AWS::Lambda::CapacityProvider Properties: CapacityProviderName:StringCapacityProviderScalingConfig:CapacityProviderScalingConfigInstanceRequirements:InstanceRequirementsKmsKeyArn:StringPermissionsConfig:CapacityProviderPermissionsConfigTags:- TagVpcConfig:CapacityProviderVpcConfig
Properties
CapacityProviderNameProperty description not available.
Required: No
Type: String
Pattern:
^(arn:aws[a-zA-Z-]*:lambda:(eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:\d{12}:capacity-provider:[a-zA-Z0-9-_]+)|[a-zA-Z0-9-_]+$Minimum:
1Maximum:
140Update requires: Replacement
CapacityProviderScalingConfig-
The scaling configuration for the capacity provider.
Required: No
Type: CapacityProviderScalingConfig
Update requires: No interruption
InstanceRequirements-
The instance requirements for compute resources managed by the capacity provider.
Required: No
Type: InstanceRequirements
Update requires: Replacement
KmsKeyArn-
The ARN of the KMS key used to encrypt the capacity provider's resources.
Required: No
Type: String
Pattern:
^(arn:(aws[a-zA-Z-]*)?:[a-z0-9-.]+:.*)|()$Minimum:
0Maximum:
10000Update requires: Replacement
PermissionsConfig-
The permissions configuration for the capacity provider.
Required: Yes
Type: CapacityProviderPermissionsConfig
Update requires: Replacement
-
A key-value pair that provides metadata for the capacity provider.
Required: No
Type: Array of Tag
Update requires: No interruption
VpcConfig-
The VPC configuration for the capacity provider.
Required: Yes
Type: CapacityProviderVpcConfig
Update requires: Replacement
Return values
Ref
Fn::GetAtt
ArnProperty description not available.
State-
The current state of the capacity provider.