1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
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.
respondido há 2 anos
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 9 meses
- AWS OFICIALAtualizada há 2 anos
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?