From the course: Hands-On Development in AWS

Unlock this course with a free trial

Join today to access over 24,600 courses taught by industry experts.

Securing SQS

Securing SQS

- I'd like to give you a demonstration of implementing a policy on an SQS queue to permit cross account publishing as well as message reception. I would like to call your attention to a few pieces of documentation. Here in the SQS documentation, we have information on implementing an SQS policy. You can see the difference between an IAM policy attached to a user and then a policy attached to a queue which permits essentially the same thing. We have these two policies, they are equivalent to each other. Looks like I cannot make that image bigger. Let's do a new tab. All right, so we have on the left an IAM policy. This is allowed actions are receive message and send message. Attached to users, Bob and Susan. And then on the right we have a policy attached to an SQS queue that says, Bob and Susan are allowed to receive message and send message on this particular resource. That policy is attached to the queue itself. So we are going to implement a queue based policy here in SQS. Let's…

Contents