AWS Lambda Alias AliasRoutingConfiguration
The
AliasRoutingConfiguration property type specifies two different versions of an
AWS Lambda function, allowing you to dictate what percentage of traffic will invoke
each version.
For more information, see Routing Traffic to Different Function Versions Using Aliases in the
AWS Lambda Developer Guide.
AliasRoutingConfiguration 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
{ "AdditionalVersionWeights" : [ VersionWeight, ... ] }
Properties
AdditionalVersionWeights-
The percentage of traffic that will invoke the updated function version.
Required: Yes
Type: List of VersionWeight
Update requires: No interruption
See Also
-
Routing Traffic to Different Function Versions Using Aliases in the AWS Lambda Developer Guide
-
CreateAlias in the AWS Lambda Developer Guide
-
AliasRoutingConfiguration in the AWS Lambda Developer Guide
