1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
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 hace 2 años
Contenido relevante
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace 3 años
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace 9 meses
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?