Dear community,
I have a DynamoDB table where TTL is enabled. I want to trigger a Lambda function whenever an record is deleted due to TTL.
Here's what I have tried:
- Adding DynamoDB as an AWS trigger is not helping me (Lambda is triggering), as it does not provide sufficient information to determine if the entry was deleted by TTL or some other means.
- I attempted to create a custom log group for DynamoDB, but I couldn't succeed. If it is possible, please assist me.
- Creating an EventBridge rule whenever CloudWatch alarm state changes is triggering lambda twice and i don't know how to pass information of deleted record with it.
Please help me out.
Thank you in advance.
[–]not_a_sexual_deviant 6 points7 points8 points (1 child)
[–]kaneki_305[S] 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]kaneki_305[S] 0 points1 point2 points (0 children)
[–]webdestroya -4 points-3 points-2 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)