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.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "FunctionVersion" :String, "FunctionWeight" :Double}
YAML
FunctionVersion:StringFunctionWeight:Double
Properties
FunctionVersion-
Function version to which the alias points.
Required: Yes
Type: String
Update requires: No interruption
FunctionWeight-
The percentage of traffic that will invoke the function version.
Required: Yes
Type: Double
Update requires: No interruption
See Also
-
Routing Traffic to Different Function Versions Using Aliases in the AWS Lambda Developer Guide
-
AliasRoutingConfiguration in the AWS Lambda Developer Guide
