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 />
Basic Use Cases for Access Control<br />
{<br />
}<br />
"Version":"2008-10-17",<br />
"Id":"UseCase4",<br />
"Statement" : [<br />
{<br />
"Sid":"1",<br />
"Effect":"Deny",<br />
"Principal" : {<br />
"AWS": "123456789<strong>01</strong>2"<br />
},<br />
"Action":["<strong>sqs</strong>:SendMessage","<strong>sqs</strong>:ReceiveMessage"],<br />
"Resource": "/987654321000/queue2",<br />
}<br />
]<br />
From these use cases, you can see that if you want to restrict access based on special conditions or<br />
deny someone access entirely, you need to read this appendix and learn how to write your own policies.<br />
You can also see that the policies themselves are not that complex and the access policy language is<br />
straightforward.<br />
API Version <strong>2009</strong>-<strong>02</strong>-<strong>01</strong><br />
45