Amazon EventBridge is an event management service. It allows us to connect components of a loosely coupled application through events, sparing developers the hassle of writing code to trigger or invoke components. EventBridge is effectively used to route, filter, and process events among AWS services, SaaS applications, and custom applications. EventBridge Pipes supports point-to-point integration by connecting a source and a target. Pipes allow us to filter and enrich the events sent to the destination.
In this Cloud Lab, you’ll first create an SNS topic, an SQS queue, a Lambda function, and a DynamoDB table. You’ll then create an Eventbridge Pipe, which will use the SQS topic as the source and filter the messages it receives. It will then invoke the Lambda function to enrich the messages it receives by fetching data from the DynamoDB table. Once the data is enriched, our message will be published on the SNS topic, which will then be forwarded to an email subscriber.
After completing this Cloud Lab, you can use EventBridge Pipes to create a serverless event-driven architecture. The following is the high-level architecture you will create in this Cloud Lab: