Reference · built on requestConnectorStreams, queues & webhooks

Amazon SNS

Topic notifications, subscription confirmations, and filter policies from Amazon SNS over HTTPS subscriptions and the SNS API.

About

Amazon SNS is the publish-subscribe service in AWS. A topic receives messages through the Publish action and delivers each one to every confirmed subscription: HTTP or HTTPS endpoints, Amazon SQS queues, email, SMS, mobile push endpoints, and Amazon Data Firehose streams. Standard topics fan out at high rates; FIFO topics keep order within a message group and deduplicate on MessageDeduplicationId.

Through Fibric, an operator subscribes an HTTPS endpoint to the topics you choose, reads each Notification as it lands, and proposes what to do about it. When a decision needs a message sent, the connector calls Publish once, after your approval, and leaves a receipt: what was sent, to which topic, and why.

This is a reference listing. It documents what Fibric would read from Amazon SNS and what it could propose, based on the vendor's published interfaces. Fibric builds it under a managed deployment when you request it; selecting it here installs nothing.

Inputs

  • Notification messages delivered by HTTP POST to a subscribed https endpoint, with Type, MessageId, TopicArn, Subject, Message, Timestamp, and Signature fields
  • SubscriptionConfirmation and UnsubscribeConfirmation messages, identified by the x-amz-sns-message-type header on the request
  • Message attributes, which a FilterPolicy on the subscription matches under FilterPolicyScope MessageAttributes or MessageBody
  • Topic and subscription attributes from GetTopicAttributes and GetSubscriptionAttributes, including DeliveryPolicy, RawMessageDelivery, and RedrivePolicy
  • Topics and subscriptions in a Region through ListTopics and ListSubscriptionsByTopic
  • On FIFO topics, the MessageGroupId, MessageDeduplicationId, and the SequenceNumber that Publish returns

Proposed actions

  • Target capability: propose a Publish to a topic with a Subject, Message, and MessageAttributes, or a PublishBatch of up to 10 entries
  • Target capability: propose a Subscribe of an https endpoint or an Amazon SQS queue to a topic, then confirm it with ConfirmSubscription
  • Target capability: propose a SetSubscriptionAttributes change to a FilterPolicy, DeliveryPolicy, or RedrivePolicy
  • Target capability: propose an Unsubscribe when a subscription is no longer wanted

Proposed actions are target capabilities. Every action runs propose-first and needs a validated deployment and the appropriate permissions.

What you can build

  • Group repeated alarms before anyone is paged

    An HTTPS subscription receives every Notification on your alarm topics. The operator clusters repeats by TopicArn and Subject, proposes which clusters deserve a person, and leaves the others as a digest.

    With Alert Noise, Integration Health

  • Recover messages that never arrived

    A RedrivePolicy on the subscription sends undeliverable messages to an Amazon SQS dead-letter queue. When your endpoint is back, the operator proposes a redrive and shows you what would be replayed.

    With Webhook Replay

  • Read only the order events that matter

    A FilterPolicy on the operator's subscription passes messages whose attributes match, such as a status of shipped. The operator sees those and nothing else on the topic.

    With Order Risk

  • Watch spend and quota topics

    Topics that carry budget and quota notifications land on the same endpoint. The operator reads the Message body, compares it with the last notice, and proposes a note to the owner.

    With Cost Anomaly, Quota Headroom

Requirements

  • An AWS account with Amazon SNS topics in a Region the connector can reach at sns.<region>.amazonaws.com
  • An IAM policy or topic access policy granting sns:Subscribe, sns:GetTopicAttributes, and, for outbound messages, sns:Publish on each topic ARN
  • A public HTTPS endpoint for the subscription; Amazon SNS does not support private HTTP(S) endpoints
  • Control of that endpoint, so the SubscriptionConfirmation token can be confirmed within its two-day validity
Authentication
AWS credentials that sign each request with Signature Version 4, belonging to an IAM principal whose policy allows the sns: actions the connector uses on the named topic ARNs.

Limits

  • A message is at most 256 KiB by default, or up to 1 MiB with the topic's MaximumMessageSize attribute; larger needs the Extended Client Libraries.
  • Publish throughput is a soft quota per account and Region that varies by Region; Subscribe and Unsubscribe are hard-limited to 100 transactions per second.
  • Only 5XX and 429 responses from your endpoint are retried under the DeliveryPolicy; every other error is a permanent failure for that message.
  • Filter policies are capped at 200 per topic and 10,000 per account. Message archiving and replay exist only on FIFO topics.

Access and pricing

Reference listing. Fibric builds the connector under a managed deployment when you request it. Your quote covers the build, capabilities, usage, and support.

Request Amazon SNS ↗

Questions and answers

Does Amazon SNS retry when my endpoint is down?
It retries 5XX and 429 responses according to the subscription's DeliveryPolicy. Any other error is a permanent failure for that message. Set a RedrivePolicy so undeliverable messages go to an Amazon SQS dead-letter queue instead of being dropped.
Can a subscription receive only some of a topic's messages?
Yes. Attach a FilterPolicy to the subscription. By default it matches message attributes; set FilterPolicyScope to MessageBody to match a JSON body instead. A subscription without a filter policy receives every message published to the topic.
Can Fibric publish to a topic in another Region?
No. Amazon SNS publishes only to topics and endpoints in the same Region as the endpoint the request is sent to. The connector is configured per Region, and its IAM policy names each topic ARN it may publish to.
Ask about Amazon SNS

Ask about the capabilities and requirements in this listing.

For project-specific requirements, contact Fibric.