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<br />
AWS IAM and SQS Policies Together<br />
It's up to you how you use both of the systems together to manage your permissions, based on your<br />
needs. The following examples show how the two policy systems work together.<br />
Example 1<br />
In this example, Bob has both an AWS IAM policy and an SQS policy that apply to him. The AWS IAM<br />
policy gives him permission to use ReceiveMessage on queue_xyz, whereas the SQS policy gives him<br />
permission to use SendMessage on the same queue. The following diagram illustrates the concept.<br />
If Bob were to send a request to receive a message from queue_xyz, the AWS IAM policy would allow<br />
the action. If Bob were to send a request to send a message to queue_xyz, the SQS policy would allow<br />
the action.<br />
API Version <strong>2009</strong>-<strong>02</strong>-<strong>01</strong><br />
65