1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
3
Yes, if you configure your DynamoDB Stream to emit NEW_AND_OLD_IMAGES
then the Lambda can see the before and after of the update. You will then have to decide in your application logic which values where changed by comparing the OLD_IMAGE
to the NEW_IMAGE
Contenuto pertinente
- AWS UFFICIALEAggiornata 5 mesi fa
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata 2 anni fa
To maybe add to that: the way we do this comparison is by using jsonpatch which is a standardized way of representing the diff between two JSON objects. It is also available in a lot of languages.