View a markdown version of this page

AWS::Lambda::Function AcceleratorConfig - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Lambda::Function AcceleratorConfig

The accelerator resource settings for a Lambda execution environment, including the amount of accelerator memory to allocate. To use an accelerator, the function must also have a capacity provider configuration (CapacityProviderConfig) for Lambda Managed Instances.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "AcceleratorMemorySize" : Integer }

YAML

AcceleratorMemorySize: Integer

Properties

AcceleratorMemorySize

The minimum amount of memory (in GB) of each accelerator device exposed to the execution environment. Lambda might allocate more, depending on the accelerator instance types available. Valid values: 3, 6, 12, 16, 24, 48.

Required: Yes

Type: Integer

Update requires: Some interruptions