Menu
Amazon Simple Queue Service
Developer Guide

Tutorial: Adding Permissions to an Amazon SQS Queue

You can specify to whom you allow (or explicitly deny) the ability to interact with your queue in specific ways by adding permissions to a queue. The following example demonstrates adding the permission for anyone to get a queue's URL.

AWS Management Console

  1. Sign in to the Amazon SQS console.

  2. From the queue list, select a queue.

  3. From Queue Actions, select Add a Permission.

    The Add a Permission dialog box is displayed.

  4. In this example, you allow anyone to get the queue's URL:

    1. Ensure that next to Effect, Allow is selected.

    2. Next to Principal, check the Everybody box.

    3. From the Actions drop-down list, select GetQueueUrl box.

    4. Choose Add Permission.

    The permission is added to the queue.

    Your queues's policy Effect, Principals, Actions, and Conditions are displayed on your queue's Permissions tab.

On this page: