> For the complete documentation index, see [llms.txt](https://docs.duplocloud.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.duplocloud.com/docs/automation-platform/overview/aws-services/sns-topic.md).

# SNS Topic

Creating SNS Topics

A SNS Topic is a logical access point that acts as a communication channel. It lets you group multiple *endpoints* (such as [AWS Lambda](/docs/automation-platform/overview/aws-services/lambda.md), [Amazon SQS](/docs/automation-platform/overview/aws-services/sqs-queue.md), HTTP/S, or an email address).

## Creating a SNS Topic

1. In the DuploCloud Portal, navigate to **Cloud Services** -> **App Integration**.
2. Click **Add**. The **Create a SNS Topic** pane displays.

<div align="left"><figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2F4aIxTSX62o1Qk23dsQom%2Fsns%20new.png?alt=media&amp;token=471356a5-59a9-4c17-af88-4724b05e08eb" alt="" width="411"><figcaption><p>The <strong>Create a SNS Topic</strong> pane</p></figcaption></figure></div>

3. In the **Name** field, enter the SNS Topic name.
   * If you plan to select **FIFO Mode**, your SNS topic must end with the `.fifo` suffix, for example `my-topic.fifo`, to indicate that it is a **FIFO (First-In, First-Out) Topic**. Without this suffix, the topic will be treated as a standard topic.
4. From the **Encryption Key** list box, select a key.
5. Optionally, select **FIFO Mode** and **Enable FIFO content based deduplication**.
   * **FIFO Mode**: Ensures that messages are processed in the exact order they are sent.
   * **Enable FIFO content-based deduplication**: Prevents duplicate messages from being delivered to the subscribers if the same message content is sent within a 5-minute window.
6. Click **Create**.

## Setting SNS Topic Alerts

SNS Topic Alerts provide a flexible and scalable means of sending notifications and alerts across different AWS services and external endpoints, allowing you to stay informed about important events and incidents happening in your AWS environment.

To set alerts for SNS Topics, [see this procedure](/docs/automation-platform/overview/use-cases/faults-and-alarms/sns-topic-alerts.md).

{% hint style="info" %}
SNS Topics are used in event processing in conjunction with DynamoDB and Lambda, among other services. See the [AWS DynamoDB Developer's Guide](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Introduction.html) for information, permissions information, and examples.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.duplocloud.com/docs/automation-platform/overview/aws-services/sns-topic.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
