I know we can have AND condition in event pattern, for example:
{
"field1": ["option1", "option2"],
"field2": ["option3"]
}
is there anyway, we can add a OR condition between field1
& field2
? So the event rule will be satisfied on both cases:
{ "field1": "option1" }
{ "field1": "option2" }
{ "field2": "option3" }
{ "field1": "option1", field2: "option3" }
please note that setting up multiple rule is not an option, because the target is writing the data to s3, and i don't want to write multiple file when data satisfying multiple rule.
Thanks in advance.