aws sqs add-permission
Adds a permission to a queue for a specific principal. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--actionsThe action the client wants to allow for the specified principal.--aws-account-idsThe Amazon Web Services account numbers of the principals who are to receive permission.--labelThe unique identification of the permission you're setting (for example, AliceSendMessage).--queue-urlThe URL of the Amazon SQS queue to which permissions are added.