Amazon Simple Queue Service (SQS) | Queue Sharing Flashcards
Can I reuse a message queue name?
Queue Sharing
Amazon Simple Queue Service (SQS) | Application Integration
A message queue’s name must be unique within an AWS account and region. You can reuse a message queue’s name after you delete the message queue.
How do I share a message queue?
Queue Sharing
Amazon Simple Queue Service (SQS) | Application Integration
You can associate an access policy statement (and specify the permissions granted) with the message queue to be shared. Amazon SQS provides APIs for creating and managing access policy statements:
AddPermission
RemovePermission
SetQueueAttributes
GetQueueAttributes
For more information, see the Amazon SQS API Reference.
Who pays for shared queue access?
Queue Sharing
Amazon Simple Queue Service (SQS) | Application Integration
The message queue owner pays for shared message queue access.
How do I identify another AWS user I want to share a message queue with?
Queue Sharing
Amazon Simple Queue Service (SQS) | Application Integration
The Amazon SQS API uses the AWS account number to identify AWS users.
What do I need to provide to an AWS user I want to share a message queue with?
Queue Sharing
Amazon Simple Queue Service (SQS) | Application Integration
To share a message queue with an AWS user, provide the full URL from the message queue you want to share. The CreateQueue and ListQueues operations return this URL in their responses.
Does Amazon SQS support anonymous access?
Queue Sharing
Amazon Simple Queue Service (SQS) | Application Integration
Yes. You can configure an access policy that allows anonymous users to access a message queue.
When should I use the permissions API?
Queue Sharing
Amazon Simple Queue Service (SQS) | Application Integration
The permissions API provides an interface for sharing access to a message queue to developers. However, this API cannot allow conditional access or more advanced use cases.