Reputation: 31
For example
AWSTemplateFormatVersion: "2010-09-09"
Transform: AWS::Serverless-2016-10-31
Description: >
sam stack
Resources:
MyLambdaFunction:
Type: AWS::Serverless::Function
Properties:
CodeUri: lambda_functions/my_lambda_function_code/
Handler: index.handler
Timeout: 15
Runtime: nodejs14.x
Outputs:
MyLambdaFunctionArn:
Description: "Arn of MyLambdaFunction "
Value: !GetAtt MyLambdaFunction.Arn
in the above template, when MyLambdaFunction
is creating,I know that it has an attribute called Arn
and I can use that like this MyLambdaFunction.Arn
. I want to know how many more attributes are returned after creation of a resource.
Upvotes: 0
Views: 105
Reputation: 6998
You can check the return section for every resource in the CloudFormation documentation.
In this case, Serverless::Function only has the ARN as a return value.
Upvotes: 1