SQS uses certain queue attributes that define the behavior of a queue. While creating a queue, you can either create a queue with default attributes or customize these attributes as per your needs.
The following table describes these queue attributes with their acceptable ranges:
Queue attribute |
Description |
Minimum acceptable range |
Maximum acceptable range |
Default visibility timeout |
The length of time that a message is received from a queue will be invisible to other receiving components. |
0 seconds |
12 hours |
Message retention period |
The amount of time that SQS retains a message if it does not get deleted. |
1 minute |
14 days |
Maximum message size |
The maximum message size accepted by SQS. |
1 KB |
256 KB |
Delivery delay |
The amount of time to delay the first delivery of all messages added to the queue. |
0 seconds |
15 minutes... |