Develop & Deploy Serverless App Lesson 4 Event Processing: Cloudformation References
yt link
Ref is a function in CloudFormation that allows to get an id of a resource
In YAML files we can use one of the two forms:
Ref: logicalName
Short form:
!Ref logicalName
Ref function will return different values depending on what resource type ...