AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS Lambda Alias VersionWeight

The VersionWeight property type specifies the percentages of traffic that will invoke each function versions for an AWS Lambda alias. For more information, see Routing Traffic to Different Function Versions Using Aliases in the AWS Lambda Developer Guide.

VersionWeight is a property of the AWS::Lambda::Alias resource type.


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


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


FunctionVersion: String FunctionWeight: Double



Function version to which the alias points.

Required: Yes

Type: String

Update requires: No interruption


The percentage of traffic that will invoke the function version.

Required: Yes

Type: Double

Update requires: No interruption

See Also

On this page: