Why aren't my Amazon S3 event notifications working with a wildcard in the prefix or suffix of the object name filter?
Last updated: 2019-12-17
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?
Because 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.