DynamoDB Streams and event based trigger of Lambda

0

In my case the dynamodb stream view was enabled and set to New and old images. My Lambda function was filtering the events by eventName (set to INSERT). Suppose a new record has been inserted in the dynamodb and in that record one or more items changed their state/values from the previous record. Is it expected that the event will report both old and new snapshots? (context on dynamodb table - the Partition key is customer_id and sortkey is utc timestamp)

已提问 2 年前459 查看次数
1 回答
0

Filtering in Lambda controls which events you receive. If your filter allows a specific event, you will receive the entire event, which contains the old and new values.

profile pictureAWS
专家
Uri
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则