1 個回答
- 最新
- 最多得票
- 最多評論
1
To get this output, you need to know that SAM automatically creates a AWS::Lambda::Ur
resource for you under the hood, which is just the function's resource ID with "...Url" appended to it.
You can get the value you want with this Outputs
snippet:
Outputs:
GreetingsFunction:
Description: "Function URL for GreetingsFunction"
Value:
Fn::GetAtt: GreetingsFunctionUrl.FunctionUrl
已回答 2 年前
相關內容
- 已提問 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
Thank you, rowanu, that worked. I saw the AWS::Lambda::Url resource created by SAM but was not sure if it was accessible from the untransformed template.