gaurav sharma
gaurav sharma

Reputation: 133

AWS S3: Need to send a notification if we get an object greater than 10 MB in our S3 bucket

Is there any way to notify people through email whenever we upload an object/objects of size greater than 10 MBs in our S3 bucket?

Upvotes: 0

Views: 1095

Answers (1)

James Dean
James Dean

Reputation: 4461

There is no direct way. You can have Lambda triggered for PutObject and Multipart upload operation (if used) on S3 bucket.

Configuring Amazon S3 Event Notifications

The big deal here is to write lambda(email portion) and find the object name/properties which was upload, read metadata or size and then decide whether to send email or not.

Upvotes: 1

Related Questions