Amazon S3 to Amazon EventBridge to Amazon SNS

Amazon S3 → Amazon EventBridge → AWS SNS

Publish events directly from S3 to EventBridge and send notifications to SNS when an object is created.

This template creates an S3 bucket that publishes events to Amazon EventBridge. When an object is uploaded to the bucket, the EventBridge is triggered and a SNS notification is sent.

< 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/s3-eventbridge-terraform

Deploy

terraform initterraform deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

1. Delete all files from the S3 bucket
2. Delete all created resources by terraform terraform destroy
3. During the prompts, enter yes
4. Confirm all created resources has been deleted terraform show

Created by:

Joahna Abelgas

Joahna Abelgas

Cloud Engineer, I'm a Software Engineer currently specializing in Amazon Web Services (AWS) Infrastructure, Security, Management and Administration.

Follow on LinkedIn