This template creates a Lambda function with two versions and an alias. The function code is provided as a zip file. The alias is used to provide clients with a function identifier that can be updated to invoke a different version. The alias has a routing configuration that routes requests to both versions, with a weight of 0.5 for the first version and 0.5 for the second version. The function has an active tracing configuration.

Function
AWS::Lambda::Function


Code *
TracingConfig

Version
AWS::Lambda::Version


NewVersion
AWS::Lambda::Version


Alias
AWS::Lambda::Alias


RoutingConfig
AdditionalVersionWeights *

CloudFormation Template

Share Template