How long can you keep your Amazon SQS messages in Amazon SQS queues?
From 120 secs up to 4 weeks
From 10 secs up to 7 days
From 60 secs up to 2 weeks
From 30 secs up to 1 week
The SQS message retention period is configurable and can be set anywhere from 1 minute to 2 weeks. The default is 4
days and once the message retention limit is reached your messages will be automatically deleted. The option for longer
message retention provides greater flexibility to allow for longer intervals between message production and consumption.