Skip to content

Instantly share code, notes, and snippets.

@jayers99
Created March 26, 2019 17:01
Show Gist options
  • Save jayers99/6adbd7d834532bbd0393f798ef0209f5 to your computer and use it in GitHub Desktop.
Save jayers99/6adbd7d834532bbd0393f798ef0209f5 to your computer and use it in GitHub Desktop.
Fun with AWS SQS message queues
#s3 put notification
aws sqs receive-message --queue-url https://sqs.us-west-2.amazonaws.com/someaccount/somequeue --visibility-timeout 1 --max-number-of-messages 10 | jq -r '.Messages[].Body' | jq -r '.Message' | jq '.Records[].s3.object.key'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment