AWS CloudFormation
User Guide (Version )

AWS::Lambda::Alias VersionWeight

The traffic-shifting configuration of a Lambda function alias.

Syntax

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

JSON

{ "FunctionVersion" : String, "FunctionWeight" : Double }

YAML

FunctionVersion: String FunctionWeight: Double

Properties

FunctionVersion

The name of the second alias.

Required: Yes

Type: String

Update requires: No interruption

FunctionWeight

The percentage of traffic that's routed to the second alias.

Required: Yes

Type: Double

Update requires: No interruption

On this page: