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)

asked 2 years ago450 views
1 Answer
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
EXPERT
Uri
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions