nad87563
nad87563

Reputation: 4092

notify whenever the contents of an S3 bucket change

I am able to add triggers/notifications to my lambda function whenever objects are created in an s3 bucket. I also want to get notified when objects are updated/changed.is there any way to get notified through SNS or lambda execution when the objects in an s3 bucket are changed?

Upvotes: 0

Views: 145

Answers (1)

Michael - sqlbot
Michael - sqlbot

Reputation: 179364

Objects and their metadata in S3 are immutable. The only way to "change" them is to replace them, so an s3:ObjectCreated:* event will capture object creation, object overwrites, and metadata updates.

Upvotes: 1

Related Questions