I’m working on a project where I’m using CloudFormation to create some SQS queues, however on one of the functions I need it to be able to reference the SQS queue created. Ideally I would like to use it in a similar fashion to how I can use Fn::GetAtt
.
I’ve tried to get the queue name into an environmental variable but I don’t think I’ve got it quite right:
environment:
send_queue:
Fn::GetAtt:
- StartMessageDeliveryQueue
- Arn