Skip to main content

SNS

This plugin discovers SNS topics from AWS accounts.

Status: experimental

Example Configuration


credentials:
region: "us-west-2"
profile: "default"
# Optional: manual credentials
id: ""
secret: ""
token: ""
# Optional: role assumption
role: ""
role_external_id: ""
tags_to_metadata: true
include_tags:
- "Environment"
- "Team"
- "Cost-Center"
tags:
- "sns"
- "aws"
filter:
include:
- "^prod-.*"
- "^staging-.*"
exclude:
- ".*-test$"
- ".*-dev$"

Available Metadata

The following metadata fields are available:

FieldTypeDescription
display_namestringDisplay name of the topic
ownerstringAWS account ID that owns the topic
policystringAccess policy of the topic
subscriptions_confirmedstringNumber of confirmed subscriptions
subscriptions_pendingstringNumber of pending subscriptions
tagsmap[string]stringAWS resource tags
topic_arnstringThe ARN of the SNS topic