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