The logical name of the resource as specified in the template.
The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.
The name or the unique stack ID that is associated with the stack, which aren't always interchangeable: