1 Answer
- Newest
- Most votes
- Most comments
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.
answered 2 years ago
Relevant content
- asked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 7 months ago
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?