AWS S3 Event Notifications with SQS Integration

In this lesson, we explored how to configure Amazon S3 Event Notifications to send events to Amazon SQS whenever an object is created. This setup can be useful for automating workflows such as processing images, triggering Lambda functions, or integrating with other AWS services.


1. Creating an S3 Bucket

First, we created an S3 bucket named "stephane-v3-events-notifications" in the Ireland (eu-west-1) region. After the bucket was created, we navigated to its Properties section to configure event notifications.


2. Configuring S3 Event Notifications

Options for Event Notifications

Under the Event Notifications section in the bucket properties, there are two main options:

  1. Create an Event Notification – Sends events to services like SQS, SNS, or Lambda.
  2. Enable Amazon EventBridge Integration – Sends all events from the bucket to EventBridge, allowing further processing.

For this demonstration, we chose the simpler approach: creating an event notification to send messages to an Amazon SQS queue.

Steps to Create the Event Notification


3. Creating an SQS Queue

To receive event messages from S3, we needed to create an SQS queue: