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<br />
Amazon SQS Policy Examples<br />
]<br />
}<br />
}<br />
}<br />
The following example policy enables a connection between the Amazon Simple Notification Service<br />
topic specified by the Amazon Resource Name (ARN) arn:aws:sns:us-east-1:599169622985:test-topic<br />
and the queue named arn:aws:<strong>sqs</strong>:us-east-1:599169622985:test-topic-queue.<br />
{<br />
}<br />
"Version": "2008-10-17",<br />
"Id": "SNStoSQS",<br />
"Statement":<br />
{<br />
"Sid":"rule1",<br />
"Effect": "Allow",<br />
"Principal": {<br />
"AWS": "*"<br />
},<br />
"Action": "<strong>sqs</strong>:*",<br />
"Resource": "arn:aws:<strong>sqs</strong>:us-east-1:599169622985:test-topic-queue",<br />
"Condition" : {<br />
"StringEquals" : {<br />
"aws:SourceArn":"arn:aws:sns:us-east-1:599169622985:test-topic"<br />
}<br />
}<br />
}<br />
API Version <strong>2009</strong>-<strong>02</strong>-<strong>01</strong><br />
60