Reputation: 149
I have an S3 bucket and would like an alert to go off when something has been added to the data_errors
folder only.
I have already done some research and noticed I can add an event for an S3 bucket for POST
command but it doesn't really tell me how to specify a specific folder.
Is there a way? Sorry, it's not clear from the docs.
Upvotes: 0
Views: 648
Reputation: 270224
When configuring the Amazon S3 Event, you can specify a Prefix. This is effectively the same as a folder name:
You can configure the event to send a message to an Amazon SNS topic (great for sending email notifications) or an Amazon SQS queue, or to trigger an AWS Lambda function.
Upvotes: 0
Reputation: 937
Yes you can , There is a Prefix option available while adding an event, you need to set it to "data_errors/"
Upvotes: 1