SQS allows you to define permissions for your queue. This permission determines the ability of your queue to interact. You can allow or explicitly deny some permissions. The following steps explain how to set permissions for a queue:
- Select a queue from the queue list, as shown in Figure 12.30:
Figure 12.30: Queue list
- Click
Queue Actions
, and thenAdd a Permissio
n
, as shown in Figure 12.31:
Figure 12.31: Queue Actions-Add a Permission
- In the subsequent screen, for
Effect
, selectAllow
orDeny
as required. You can specify an account inPrincipal
, if you want to assign the permission to a specific person, or select theEverybody
checkbox to assign the permission to everybody. From theActions
tab, you can choose specific actions that you want to assign, or you can select theAll SQS Actions
checkbox to assign permissions for all actions, as shown in Figure 12.32:
Figure 12.32: Add a permission to a queue