# S3 Bucket Notifications

DuploCloud makes it easy to configure event-driven workflows using Amazon S3 bucket notifications. You can trigger SQS queues, SNS topics, or Lambda functions automatically when specific events occur in an S3 bucket, such as when a new object is uploaded or deleted.

Before setting up a notification, ensure the destination resource (SQS, SNS, or Lambda) is available in your Tenant. For help creating these resources, see:

* [SQS Queues](/docs/automation-platform/overview/aws-services/sqs-queue.md#creating-sqs-queues): for receiving event messages asynchronously.
* [SNS Topics](/docs/automation-platform/overview/aws-services/sns-topic.md#creating-a-sns-topic): for publishing notifications to multiple subscribers.
* [Lambda Functions](/docs/automation-platform/overview/aws-services/lambda.md#id-3-toc-title): to execute custom code in response to events.

## Creating S3 Bucket Notifications

Automatically trigger SQS queues, SNS topics, or Lambda functions when specific events occur in your S3 bucket, for example, when a new object is created.

1. Navigate to **Cloud Services** -> **Storage**.
2. Select the **S3** tab.
3. In the **NAME** column, click the name of the bucket you want to configure.
4. Select the **Notifications** tab.
5. Click **Add**. The **Add S3 Bucket Notification** pane displays.<br>

   <div align="left"><figure><img src="/files/mZrGNmvG0zUit821Uqmx" alt=""><figcaption><p><strong>Add S3 Bucket Notification</strong> pane</p></figcaption></figure></div>
6. Complete the following fields:

<table data-header-hidden><thead><tr><th width="206.22222900390625"></th><th></th></tr></thead><tbody><tr><td><strong>Destination Type</strong></td><td>Select the service that will receive event notifications, e.g., <strong>SQS, SNS</strong>, or <strong>Lambda</strong>.</td></tr><tr><td><strong>Destination</strong></td><td>Select the specific destination resource (the SNS, SQS, or Lambda).</td></tr><tr><td><strong>Event Types</strong></td><td>Specify the events that will trigger notifications. You can select multiple events, e.g., <strong>All object create events</strong>, <strong>PUT</strong>, <strong>Object Removed</strong>.</td></tr></tbody></table>

8. Click **Save** to create the notification.

{% hint style="info" %}
**Tip:** A common use case is sending `All object create events` to an SQS queue to trigger downstream processing like Lambda or container services.
{% endhint %}

## Enabling Amazon EventBridge Notifications

In addition to specific event notifications, you can forward all S3 bucket events to Amazon EventBridge.

1. In the DuploCloud Portal, navigate to **Cloud Services** -> **Storage**.
2. Select the **S3** tab.
3. In the **NAME** column, click the name of the bucket you want to configure.
4. Select the **Notifications** tab.
5. In the **Amazon EventBridge** section, click **Edit**. The **Edit Amazon EventBridge** pane displays.<br>

   <div align="left"><figure><img src="/files/1FOTEgJWdGjneTZOXlsi" alt=""><figcaption><p><strong>Edit Amazon EventBridge</strong> pane</p></figcaption></figure></div>
6. Select **On** or **Off** in the **Send notifications to Amazon EventBridge for all events in this bucket** list box.
7. Click **Save**.

{% hint style="info" %}
**Note:** EventBridge notifications are broad and include all supported bucket-level events. This is useful for centralized event routing or integrations with other AWS services via EventBridge rules.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.duplocloud.com/docs/automation-platform/overview/aws-services/s3-bucket/s3-bucket-notifications.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
