xor
Returns the logical XOR of children conditions, meaning it only resolves to true if exactly one of its children conditions resolves to true.
# Config fields, showing default valuesxor: []
Examples​
The following snippet resolves to true if a message matches the resource condition 'foo' or 'bar', but not both:
xor:- resource: foo- resource: bar