23.06.2023 Views

AWS

4 weeks subscription

4 weeks subscription

SHOW MORE
SHOW LESS

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 />

"<strong>AWS</strong>": "123456789012"<br />

},<br />

"Action":["sqs:SendMessage","sqs: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 2009-02-01<br />

45

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!