sqs-dg-2009-02-01
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Amazon Simple Queue Service Developer Guide
AWS IAM and SQS Policies Together
It's up to you how you use both of the systems together to manage your permissions, based on your
needs. The following examples show how the two policy systems work together.
Example 1
In this example, Bob has both an AWS IAM policy and an SQS policy that apply to him. The AWS IAM
policy gives him permission to use ReceiveMessage on queue_xyz, whereas the SQS policy gives him
permission to use SendMessage on the same queue. The following diagram illustrates the concept.
If Bob were to send a request to receive a message from queue_xyz, the AWS IAM policy would allow
the action. If Bob were to send a request to send a message to queue_xyz, the SQS policy would allow
the action.
API Version 2009-02-01
65