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)

feita há 2 anos459 visualizações
1 Resposta
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
ESPECIALISTA
Uri
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas