Making S3 Buckets Talk Back with Event Notifications


One day, I uploaded a file into my S3 bucket and thought: “Wouldn’t it be cool if something happened automatically when I drop a file here?”
Turns out, AWS already thought of this: S3 Event Notifications.
🔔 What are S3 Event Notifications?
They’re like little messengers. Whenever something happens inside your bucket—like a new file upload, delete, or update—S3 can notify other AWS services instantly.
For example:
Upload a file → Trigger Lambda function.
Delete an object → Send a message to SNS topic.
Put new images → Queue them in SQS for later processing.
⚙️ How I Set It Up
Here’s what I did with my project:
In my S3 bucket, I went to the Properties tab → Event notifications → Create event notification.
Gave it a name:
image-upload-trigger
.Event type: PUT (Object Created).
Prefix filter:
images/
(only for files uploaded in theimages
folder).Destination: Lambda function that resizes images automatically.
Now, whenever I upload an image, Lambda resizes it—like magic.
🌟 Why I Love This
Automation → No manual processing.
Integration → Works seamlessly with Lambda, SNS, SQS.
Real-time reactions → My bucket feels “alive.”
Subscribe to my newsletter
Read articles from Ruchika Gurbaxani directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

Ruchika Gurbaxani
Ruchika Gurbaxani
AWS Cloud Enthusiast | Cybersecurity Aware Cloud-savvy and security-conscious, I'm a tech enthusiast with a strong foundation in Python, C, Networking, and Cloud Computing. Currently preparing for AWS certifications, I’ve completed the Mastercard Cybersecurity Virtual Experience and hold the ZTCA (Zscaler Zero Trust Certified Associate) certification. My projects reflect a passion for secure, scalable cloud solutions—notably SilentWhisper, an anonymous communication app. Recognized for achievements in NASA’s Scientist for a Day, Smart India Hackathon, and creative competitions like painting at Raman Science Center. I'm also active on LeetCode, HackerRank, and GitHub, where I regularly enhance my problem-solving and development skills.