1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
1
It is not possible to achieve your goal with Lambda event filtering at the time of writing this for two reasons:
- There is no "numeric not equal" operator
- It is not possible to compare two fields of the stream data with each other.
con risposta 2 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 7 mesi fa
Thank you for your answer.
So, since the code knows whether the "count" field is going to be written, I could add a new (perhaps boolean) field like "updatedCount" set to true when a value for "count" is being set.
Then, the trigger could be activated by a filter like '{"dynamodb": {"NewImage": {"updatedCount": [true]}}}'. Does it make any sense to you? If not, what would you suggest?