I\'m trying to create a new version of a Lambda function using CloudFormation.
I want to have multiple versions of the same Lambda function so that I can (a) point a
Worked for me the following:
"LambdaAlias": { "Type": "AWS::Lambda::Alias", "DeletionPolicy" : "Retain", "Properties": { "FunctionName": { "Ref": "LambdaFunction" }, "FunctionVersion": { "Fn::GetAtt": ["LambdaVersion","Version"] }, "Name": "MyAlias" }