How can I know if a object is a replicated object from the S3 event notification event?

0

I have s3 replication enabled and event notification enabled for both source and destination buckets. How can I know in the destination bucket from the notification event if the object is a replicated object without any custom lambda logic

AWS
gefragt vor 5 Monaten229 Aufrufe
1 Antwort
0

Hello.

If it is an event notification, it will be notified by the "ObjectCreated:Put" event, so I don't think it can be determined.
Therefore, I think it is difficult to judge without using Lambda.
https://repost.aws/ja/questions/QUWy4DeorXSkOOm5otiBZPyg/does-s3-object-replication-trigger-objectcreated-event

So, how about triggering Lambda to determine if the same object exists in the source S3 bucket when "ObjectCreated:Put" occurs?
If it is determined that the same object exists, I think it is a replicated object.

profile picture
EXPERTE
beantwortet vor 5 Monaten
  • I am looking for a way without having to trigger a lambda function, I think it is not possible. Thanks for confirming.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen