- 3 minutes to read

Amazon SNS Topics

A topic that can't deliver is a silent failure: the publisher thinks the message went out, and the subscribers never get it. The Nodinite AWS Monitoring Agent counts the failed notifications of every topic, warns about subscriptions nobody confirmed and topics nobody listens to, and lets your team publish a test or replacement message from a Monitor View.

  • ✅ Warning and Error on failed notifications
  • ✅ Warning on subscriptions pending confirmation and on topics without subscriptions
  • ✅ See every subscription, and publish a message with Remote Actions

Understanding Topic Monitoring

graph LR Publisher["fa:fa-paper-plane Publisher"] --> Topic["fa:fa-bullhorn SNS Topic"] Topic --> Sub1["fa:fa-list Subscription
confirmed: OK"] Topic --> Sub2["fa:fa-hourglass Subscription
pending: Warning"] Topic -->|"failed notifications"| Fail["fa:fa-triangle-exclamation Delivery failed
Warning or Error"] style Publisher fill:#2678BD style Topic fill:#2678BD style Sub1 fill:#93d16d style Sub2 fill:#FFD525 style Fail fill:#c33d34

A topic delivers each message to its subscriptions. A confirmed subscription is fine (green: OK), one pending confirmation is a Warning (yellow), and failed notifications over the evaluation period raise Warning or Error (red).

Check ⚠️ Warning ❌ Error
Failed notifications over the evaluation period (15 minutes by default) 1 10
Warn on subscriptions pending confirmation On
Warn on topics without subscriptions On

Change the defaults per account in the Configuration, or for one topic with Edit. More rules: Monitoring AWS.

Remote Actions on a Topic

Open the Action menu of the topic in a Monitor View. Every view has a Refresh button, and the topic's name links to it in the AWS console (View in the AWS Console).

Action What it does Needs
Details The topic's attributes, the number of Subscriptions confirmed and Subscriptions pending confirmation, and its thresholds Read-only policy
Edit The thresholds of this topic: each shows its account default, 0 switches a check off, an empty field uses the default, and Use account defaults removes them Read-only policy
Subscriptions Lists the subscriptions with their settings sns:ListSubscriptionsByTopic, sns:GetSubscriptionAttributes
Publish Publishes one message to every subscription of the topic sns:Publish

Subscriptions

The list shows up to 100 subscriptions, each with its id, endpoint, status (Confirmed or Pending confirmation), and protocol. The eye button on a row shows the settings of that subscription, such as its ARN, owner, raw message delivery, filter policy, and dead-letter queue, and hides them again. The view only reads: you can't change or delete a subscription from Nodinite.

Publish

Field What to enter
Message Required. The message, for example a JSON document, at most 256 KB
Subject Optional, at most 100 characters
Message group id FIFO topic only, required
Message deduplication id FIFO topic only, required unless content-based deduplication is on for the topic
Message attributes Optional, one name=value per line, at most 10

Click Publish message and confirm: Are you sure you want to publish this message to the topic? It is delivered to every subscription of the topic. Every subscriber gets it, so a test message on a production topic reaches production systems.

Every action is recorded in Log Audits. The ready-made IAM policies are on Prerequisites.

Next Steps