Documentation
¶
Overview ¶
Package eventpattern implements EventBridge's event pattern language: a pattern is a JSON document whose leaves are arrays of conditions; an event matches when every pattern field matches (AND across fields), any condition in a leaf array matches (OR within a field), and arrays in the EVENT match if any element satisfies the condition.
Supported operators: exact values (strings, numbers, booleans, null), {"prefix": s}, {"suffix": s}, {"equals-ignore-case": s}, {"wildcard": s} (with * wildcards), {"anything-but": v|[v...]|{"prefix"/"suffix"/ "equals-ignore-case"/"wildcard": ...}}, {"numeric": [op, n, ...]}, {"exists": bool}, {"cidr": "a.b.c.d/n"}, and {"$or": [subpattern, ...]}.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.