AWS::Lambda::CapacityProvider - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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:

Properties

CapacityProviderName

Property 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: 1

Maximum: 140

Update 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: 0

Maximum: 10000

Update requires: Replacement

PermissionsConfig

The permissions configuration for the capacity provider.

Required: Yes

Type: CapacityProviderPermissionsConfig

Update requires: Replacement

Tags

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

Arn

Property description not available.

State

The current state of the capacity provider.