AWS
4 weeks subscription
4 weeks subscription
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 />
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:sqs: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 />
"<strong>AWS</strong>": "*"<br />
},<br />
"Action": "sqs:*",<br />
"Resource": "arn:aws:sqs: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 2009-02-01<br />
60