Configuring an access policy in Amazon SQS - Amazon Simple Queue Service

Configuring an access policy in Amazon SQS

When you edit a queue, you can configure its access policy to control who can interact with it.

  • The access policy defines which accounts, users, and roles have permissions to access the queue.

  • It specifies the allowed actions, such as SendMessage, ReceiveMessage, or DeleteMessage.

  • By default, only the queue owner has permission to send and receive messages.

To configure the access policy for an existing queue (console)
  1. Open the Amazon SQS console at https://console.aws.amazon.com/sqs/.

  2. In the navigation pane, choose Queues.

  3. Choose a queue and choose Edit.

  4. Scroll to the Access policy section.

  5. Edit the access policy statements in the input box. For more on access policy statements, see Identity and access management in Amazon SQS.

  6. When you finish configuring the access policy, choose Save.