hello123
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: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 />
"AWS": "*"<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