Skip to main content

SQS

Status: experimental

The SQS plugin discovers and catalogs Amazon SQS queues across your AWS accounts. It captures queue configurations, attributes, and can optionally discover Dead Letter Queue relationships between queues.

Prerequisites

AWS Permissions

The plugin requires the following IAM permissions:

{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"sqs:ListQueues",
"sqs:GetQueueAttributes",
"sqs:ListQueueTags"
],
"Resource": "*"
}
]
}

Minimal Permissions

For basic queue discovery without tags:

{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": ["sqs:ListQueues", "sqs:GetQueueAttributes"],
"Resource": "*"
}
]
}

Example Configuration


credentials:
region: "us-east-1"
id: "<aws-secret-id>"
secret: "<aws-secret-key>"
tags:
- "sns"

Configuration

The following configuration options are available:

PropertyTypeRequiredDescription
awsAWSConfigfalse
credentialsAWSCredentialsfalseAWS credentials configuration
discover_dlqboolfalseDiscover Dead Letter Queue relationships
external_links[]ExternalLinkfalse
filterFilterfalseFilter patterns for AWS resources
global_documentation[]stringfalse
global_documentation_positionstringfalse
include_tags[]stringfalseList of AWS tags to include as metadata
mergeMergeConfigfalse
metadataMetadataConfigfalse
tagsTagsConfigfalse
tags_to_metadataboolfalseConvert AWS tags to Marmot metadata

Available Metadata

The following metadata fields are available:

FieldTypeDescription
content_based_deduplicationboolWhether content-based deduplication is enabled
deduplication_scopestringDeduplication scope for FIFO queues
delay_secondsstringDelay seconds for messages
fifo_queueboolWhether this is a FIFO queue
fifo_throughput_limitstringFIFO throughput limit type
maximum_message_sizestringMaximum message size in bytes
message_retention_periodstringMessage retention period in seconds
queue_arnstringThe ARN of the SQS queue
receive_message_wait_timestringLong polling wait time in seconds
redrive_policystringRedrive policy JSON string
tagsmap[string]stringAWS resource tags
visibility_timeoutstringThe visibility timeout for the queue