Amazon SNS is a serverless service that allows us to send and receive notifications. It uses the Publish/Subscribe model, where messages can be published to a topic and sent to all subscribers.
In this Cloud Lab, you’ll create an SNS topic and publish messages to it by creating a Lambda function. You’ll also add two subscription endpoints—an email and an SQS queue—to the SNS topic. You’ll learn to filter the messages sent to subscriber endpoints by adding a filter policy. Finally, you’ll create a schedule using Amazon EventBridge to invoke the Lambda function.
After completing this Cloud Lab, you can create an SNS topic and add subscribers to it. You can also filter messages that have been sent to subscribers and invoke Lambda functions using EventBridge.
The following is the high-level architecture diagram of the infrastructure that you’ll create in this Cloud Lab: