Class EventFilter (1.11.2)

EventFilter(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Filters events based on exact matches on the CloudEvents attributes.

Attributes

NameDescription
attribute str
Required. The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. All triggers MUST provide a filter for the 'type' attribute.
value str
Required. The value for the attribute.
operator str
Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is match-path-pattern.