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년 전
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전
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.