29.07.2020 Views

sqs-dg-2009-02-01

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Amazon Simple Queue Service Developer Guide

Basic Use Cases for Access Control

{

}

"Version":"2008-10-17",

"Id":"UseCase4",

"Statement" : [

{

"Sid":"1",

"Effect":"Deny",

"Principal" : {

"AWS": "123456789012"

},

"Action":["sqs:SendMessage","sqs:ReceiveMessage"],

"Resource": "/987654321000/queue2",

}

]

From these use cases, you can see that if you want to restrict access based on special conditions or

deny someone access entirely, you need to read this appendix and learn how to write your own policies.

You can also see that the policies themselves are not that complex and the access policy language is

straightforward.

API Version 2009-02-01

45

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

Saved successfully!

Ooh no, something went wrong!