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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠