Lambda triggers and Time to Live (TTL)

0

I combine Time to Live with DynamoDB streams to invoke a lambda trigger, only when the item is deleted by TTL and not by a user or console.
According to the docs, you should be able to distinguish TTL-deleted records from others by using the userIdentity field.
However, my records never have this field.
Does anyone have an idea what I could be doing wrong?

gefragt vor 3 Jahren1366 Aufrufe
1 Antwort
0

Sorry, I must have opened the wrong log. It works fine!

beantwortet vor 3 Jahren

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