例如
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
在上面的模板中,当创建 MyLambdaFunction
时,我知道它有一个名为 Arn
的属性,我可以像这样使用 MyLambdaFunction.Arn
。我想知道创建资源后返回的属性还有多少。