1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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
répondu il y a 2 ans
Contenus pertinents
- demandé il y a un an
- Réponse acceptéedemandé il y a un an
- demandé il y a 13 jours
- demandé il y a 7 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an
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.