Amazon EventBridge Scheduler to send messages to Amazon SNS

Amazon EventBridge Scheduler → Amazon SNS

Simple pattern that publishes a message to an SNS topic every 5 minutes

This sample pattern demonstrates how to send a message to an Amazon SNS topic every 5 minutes using EventBridge Scheduler and deployed using the AWS CDK for Java.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/eventbridge-schedule-to-sns-publish-cdk-java

Deploy

cdk deploy -c email=sample@example.com


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk delete.

Created by:

Hoi Wing Chan

Hoi Wing is a Technical Account Manager at Amazon Web Services with a background of software development and architecture.

Follow on LinkedIn