Jatin Mehrotra
Jatin Mehrotra

Reputation: 11576

S3: What event (in target bucket) is generated when a file is replicated to target bucket?

When a file is uploaded in s3 it generates an s3 event Object Created.

I am wondering ( couldn't find in documentation) what kind of event is generated from replication bucket when a source bucket replicates the uploaded object to the replication bucket.

I want to capture the event and use it for lambda or any other service.

Upvotes: 2

Views: 481

Answers (1)

Jatin Mehrotra
Jatin Mehrotra

Reputation: 11576

For those wondering what the event will be, it will be Object Created. I confirmed this by enabling event for bucket and captured all the events in eventbridge and it was object created.

I hope documentation will state this in future that for replication events too it will be Object Created

Upvotes: 3

Related Questions