CapacityProvider - Amazon Lambda
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).

CapacityProvider

A capacity provider manages compute resources for Lambda functions.

Contents

CapacityProviderArn

The Amazon Resource Name (ARN) of the capacity provider.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 140.

Pattern: arn:aws[a-zA-Z-]*:lambda:[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:\d{12}:capacity-provider:[a-zA-Z0-9-_]+

Required: Yes

PermissionsConfig

The permissions configuration for the capacity provider.

Type: CapacityProviderPermissionsConfig object

Required: Yes

State

The current state of the capacity provider.

Type: String

Valid Values: Pending | Active | Failed | Deleting

Required: Yes

VpcConfig

The VPC configuration for the capacity provider.

Type: CapacityProviderVpcConfig object

Required: Yes

CapacityProviderScalingConfig

The scaling configuration for the capacity provider.

Type: CapacityProviderScalingConfig object

Required: No

InstanceRequirements

The instance requirements for compute resources managed by the capacity provider.

Type: InstanceRequirements object

Required: No

KmsKeyArn

The ARN of the KMS key used to encrypt the capacity provider's resources.

Type: String

Pattern: (arn:(aws[a-zA-Z-]*)?:[a-z0-9-.]+:.*)|()

Required: No

LastModified

The date and time when the capacity provider was last modified.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: