aws::sqs-queue

Example

aws::sqs-queue sqs-example996556
     name : "testRedrive3345itest12345"
     visibility-timeout : 400
     message-retention-period : 864000
     maximum-message-size : 258048
     delay-seconds : 140
     receive-message-wait-time-seconds : 5
     kms-master-key-id : 23
     kms-data-key-reuse-period-seconds : 200
     policy: 'policy.json'
     dead-letter-queue-name : "testRedrive3345itest123"
     max-receive-count : "5"
end
aws::sqs-queue sqs-example2.fifo
     name : "testxyz"
     visibility-timeout : 400
     message-retention-period : 864000
     maximum-message-size : 258048
     delay-seconds : 140
     receive-message-wait-time-seconds : 5
     kms-master-key-id : 23
     kms-data-key-reuse-period-seconds : 200
     policy: 'policy.json'
     dead-letter-target-arn : "arn:aws:sqs:us-east-2:242040583208:testRedrive3345.fifo"
     max-receive-count : "5"
     content-based-deduplication : 'true'
end

Attributes

Attribute Description
name The name of the queue. The name of a FIFO queue must end with the .fifo suffix. (Required)
visibility-timeout The visibility timeout for the queue, in seconds. Defaults to 30. Valid values are between 0 to 43200.
message-retention-period The length of time, in seconds, for which thw queue retains a message. Defaults to 345600. Valid values are between 60 to 1209600.
delay-seconds The length of time, in seconds, for which the delivery of all messages in the queue is delayed. Defaults to 0. Valid values are between 0 to 900.
maximum-message-size The limit of how many bytes a message can contain before the queue rejects it. Defaults to 262144. Valid values are between 1024 to 262144.
receive-message-wait-time-seconds The length of time, in seconds, for which a ReceiveMessage action waits for a message to arrive. Defaults to 0. Valid values are between 0 to 20.
dead-letter-target-arn The ARN of the dead-letter queue to which Amazon SQS moves messages after the value of maxReceiveCount is exceeded. See https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html.
max-receive-count The number of times a message is received before being moved to the dead-letter queue.
dead-letter-queue-name The name of the dead-letter queue.
content-based-deduplication Enables content-based deduplication for FIFO Queues. See https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing.
kms-master-key-id The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK.
kms-data-key-reuse-period-seconds The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling AWS KMS again. Defaults to 300 Valid values are between 60 to 86400.
policy The policy document. A policy path or policy string is allowed. (Required)

Outputs

Attribute Description
arn The arn of the queue.
queue-url The queue url.