Docs Menu

Send Trigger Events to AWS EventBridge

MongoDB offers an AWS Eventbridge partner event source that lets you send trigger events to an event bus instead of calling a function. You can configure any trigger to send events to EventBridge.

All you need to send trigger events to EventBridge is an AWS account ID. This guide walks through finding your account ID, configuring the trigger, and associating the trigger event source with an event bus.

Note
Official AWS Partner Event Source Guide

This guide is based on Amazon's Receiving Events from an SaaS Partner documentation.

1

To send trigger events to AWS EventBridge, you need the AWS account ID of the account that should receive the events.

Open the Amazon EventBridge console and click Partner event sources in the navigation menu. Search for the MongoDB partner event source and then click Set up.

The MongoDB partner event source in EventBridge

On the MongoDB partner event source page, click Copy to copy your AWS account ID to the clipboard.

The prompt to copy your AWS account ID in EventBridge
2

Once you have the AWS account ID, you can configure a trigger to send events to EventBridge. In the Atlas UI, create and configure a new database trigger or scheduled trigger and select the EventBridge event type.

Paste in the AWS Account ID that you copied from EventBridge and select an AWS Region to send the trigger events to.

The EventBridge input boxes in the trigger configuration.
Note
Supported AWS Regions

For a full list of supported AWS regions, refer to Amazon's Receiving Events from an SaaS Partner guide.

3

Go back to the EventBridge console and choose Partner event sources in the navigation pane. In the Partner event sources table, find and select the Pending trigger source and then click Associate with event bus.

The MongoDB partner event sources table in EventBridge

On the Associate with event bus screen, define any required access permissions for other accounts and organizations and then click Associate.

The screen to associate the MongoDB event source with an event bus in EventBridge

Once confirmed, the status of the trigger event source changes from Pending to Active, and the name of the event bus updates to match the event source name. You can now start creating rules that trigger on events from that partner event source. For more information, see Creating a Rule That Triggers on an SaaS Partner Event.

The MongoDB partner event sources table in EventBridge showing the active trigger event source
←  Trigger Configuration ParametersCRON Expressions →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.