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

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 AWS Lambda Alias VersionWeight

Update requires: No interruption

See Also

On this page: