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
, orDeleteMessage
. -
By default, only the queue owner has permission to send and receive messages.
To configure the access policy for an existing queue (console)
Open the Amazon SQS console at https://console.aws.amazon.com/sqs/
. -
In the navigation pane, choose Queues.
-
Choose a queue and choose Edit.
-
Scroll to the Access policy section.
-
Edit the access policy statements in the input box. For more on access policy statements, see Identity and access management in Amazon SQS.
-
When you finish configuring the access policy, choose Save.