In AWS cloudformation template is there a way to get a list of lambda arns similar to how you can get sns arns?
"Ref" : "AWS::NotificationARNs"
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html
In AWS cloudformation template is there a way to get a list of lambda arns similar to how you can get sns arns?
"Ref" : "AWS::NotificationARNs"
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html
In a CloudFormation template, you can use GetAtt
to get the ARN of a specific Lambda. Example:
"Resources": {
"mylambda": {
"Type": "AWS::Lambda::Function",
"Properties": {
...
}
}
},
"Outputs": {
"mylambdaArn": {
"Value": {
"Fn::GetAtt": ["mylambda", "Arn"]
}
}
}
There's no way to get a list of all Lambda ARNs directly. However, you could create a list ahead of time and pass them in as a parameter.