This is the new AWS 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 SnapStartResponse
The function's SnapStart setting.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "ApplyOn" :String, "OptimizationStatus" :String}
YAML
ApplyOn:StringOptimizationStatus:String
Properties
ApplyOn-
When set to
PublishedVersions, Lambda creates a snapshot of the execution environment when you publish a function version.Required: No
Type: String
Allowed values:
PublishedVersions | NoneUpdate requires: No interruption
OptimizationStatus-
When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
Required: No
Type: String
Allowed values:
On | OffUpdate requires: No interruption