Enable a specific AWS account to send messages to queue

aws sqs

  • Create, delete, and send messages to queues for the AWS SQS service.
    More information: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sqs/index.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

aws sqs add-permission --queue-url https://sqs.{{region}}.amazonaws.com/{{queue_name}} --label {{permission_name}} --aws-account-ids {{account_id}} --actions SendMessage

click the source code to copy install aws sqs on any operating system with command-not-found.com