Queue
Creates and manages Amazon SQS queues with support for both standard and FIFO queues. Handles queue creation, attribute configuration, and automatic cleanup of deleted queues.Props
string
Name of the queue. For FIFO queues, the name must end with the .fifo suffix.Default:
${app}-${stage}-${id} (with .fifo suffix if fifo is true)boolean
Whether this is a FIFO queue. If true, the queueName must end with .fifo suffix.
number
The length of time (in seconds) that a message received from a queue will be invisible to other receiving components.Default:
30number
The length of time (in seconds) for which Amazon SQS retains a message.Default:
345600 (4 days)number
The limit of how many bytes a message can contain before Amazon SQS rejects it.Default:
262144 (256 KB)number
The time in seconds that the delivery of all messages in the queue will be delayed.Default:
0number
The length of time (in seconds) for which a ReceiveMessage action waits for a message to arrive.Default:
0boolean
Enables content-based deduplication for FIFO queues. Only applicable when fifo is true.
'messageGroup' | 'queue'
Specifies whether message deduplication occurs at the message group or queue level. Only applicable when fifo is true.
'perQueue' | 'perMessageGroupId'
Specifies whether the FIFO queue throughput quota applies to the entire queue or per message group. Only applicable when fifo is true.
Record<string, string>
Resource tags for the queue.
Output
string
ARN of the queue.
string
Name of the Queue.
string
URL of the queue.