Create the SQS queue
Navigate to SQS in the AWS console

Create a queue

Give the queue a name

Under Configuration, Set Message retention to 1 day

Under Access policy, click Advanced.

Delete the default JSON in the Advanced Access policy.
Copy and paste in the following JSON, changing
<bucketname>to be the name of the S3 bucket you created in an earlier step.
The result should look like this:

Click Create queue

Save the SQS queue ARN in a text file. This will come in handy later.

Last updated