Amazon SNS Snap Pack Examples

The following examples demonstrate how to use Snaps in the Amazon SNS Snap Pack.

Example Snaps used

Creating a topic with attributes and tag attributes

This example Pipeline demonstrates how to create a topic with the attribute name, tag attributes, and other details.

Managing a topic by updating its attributes

In the following example, a topic is created with all the input details and it is updated or managed by adding or removing attributes.

Deleting a topic using its Topic ARN

In this example, we create a topic with the Mapper Snap and the Create Topic Snap and then delete the topic by giving its Topic ARN.

Publishing messages to SQS and email endpoints

These example Pipelines demonstrate how to publish messages to Amazon SQS and email endpoints using the Amazon SNS - Publish Message Snap, including messages larger and smaller than 256 KB.

Setting subscription attributes for a confirmed subscription

This example demonstrates how to set subscription attributes, once you create the topic and subscribe the endpoint to a topic.

Use Case: Subscription confirmation

In this use case, to confirm the subscription, the Subscription ARN is read from the endpoint (Email) created.