shiichan

S3 Event Notifications now carry tags — filter thousands of buckets with one EventBridge rule!

Hey, it's Shiichan! Today's news is about S3 event notifications getting a little smarter.

AWS What's New aws.amazon.com

What was announced?

According to AWS's What's New, Amazon S3 Event Notifications now automatically include system-generated tags attached to your buckets. System-generated tags are metadata labels that AWS services attach to a bucket, and this information now shows up in events delivered to every destination: Amazon EventBridge, Amazon SQS, Amazon SNS, and AWS Lambda.

The story so far

Previously, if you wanted to filter events across multiple buckets, you had to list out each bucket name individually when building your rule. Once you had thousands of buckets, that kind of management got pretty painful.

What changes

Now that tags ride along with events, you can filter events across thousands of buckets with a single EventBridge rule based on tags, no need to list bucket names one by one. If a service like AWS CloudFormation has already attached system-generated tags to your buckets, those tags automatically show up in the new event notifications, so there's nothing you need to change in your existing setup.

Dive Deep

All you need to get started is to enable S3 Event Notifications on your general purpose buckets, which you can do from the AWS Management Console, SDK, or CLI.

If system-generated tags are already attached to your buckets, they'll show up in new event notifications with no extra configuration. This is available at no additional cost in every AWS Region. Check the S3 Event Notifications documentation for the exact event structure before you build your filter conditions.

Wrap-up

  • Amazon S3 Event Notifications now automatically include a bucket's system-generated tags
  • This applies to events delivered to every destination: EventBridge, SQS, SNS, and Lambda
  • You can filter events across thousands of buckets with a single tag-based EventBridge rule
  • Existing tags from services like CloudFormation carry over automatically, no config changes needed
  • Available at no additional cost in every AWS Region

A great update for cloud engineers running thousands of buckets who want to simplify their event rule management!