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)

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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ