If I leave the match expression as an empty object {} , the trigger works as expected and I see the event on the AWS EventBridge.
If I add the following Match Expression:
{
"notify" : true
}
The trigger no longer executes and I do not see the event on the AWS Event Bridge. Am I configuring the Match Expression inaccurately? I only want the trigger to execute when the notify field is set to true
Hi – For the match expression in the Trigger, you will want to match on the Change Event format vs. the document itself. Specifically, I think that field will be located within the either updateDescription / fullDocument fields depending on how you have configured the Trigger.
Figured this out, in order for this to work you need to enable the Full Document option in the trigger settings. Then the following Match Expression will work: