Skip to content

HeaderMatchPattern

Source code in docs_src/capo_wafv2/types/header_match_pattern.py
class HeaderMatchPattern(TypedDict, closed=True):
    all: NotRequired["capo_wafv2.types.all.All"]
    """<p>Inspect all headers. </p>"""
    included_headers: NotRequired["capo_wafv2.types.header_names.HeaderNames"]
    """<p>Inspect only the headers that have a key that matches one of the strings specified here. </p>"""
    excluded_headers: NotRequired["capo_wafv2.types.header_names.HeaderNames"]
    """<p>Inspect only the headers whose keys don't match any of the strings specified here. </p>"""

all instance-attribute

all: NotRequired[All]

Inspect all headers.

excluded_headers instance-attribute

excluded_headers: NotRequired[HeaderNames]

Inspect only the headers whose keys don't match any of the strings specified here.

included_headers instance-attribute

included_headers: NotRequired[HeaderNames]

Inspect only the headers that have a key that matches one of the strings specified here.