Why aren't my Amazon S3 event notifications working with a wildcard in the prefix or suffix of the object name filter?

1 minute read
1

I configured Amazon Simple Storage Service (Amazon S3) event notifications with a filter on the object key name. I included a wildcard (*) in the prefix or suffix of the key name filter. Why aren't event notifications working?

Resolution

The wildcard asterisk character (*) is a valid character that can be used in object key names. Amazon S3 literally interprets the asterisk as a prefix or suffix filter.

You can't use the wildcard character to represent multiple characters for the prefix or suffix object key name filter. Instead, you must configure multiple event notifications to match the object key names.


Related information

Creating object key names

Amazon S3 Event Notifications

Configuring event notifications using object key name filtering

AWS OFFICIAL
AWS OFFICIALUpdated a year ago