Skip to content

HttpMatch

Source code in docs_src/capo_vpc_lattice/types/http_match.py
class HttpMatch(TypedDict, closed=True):
    method: NotRequired["capo_vpc_lattice.types.http_method.HttpMethod"]
    """<p>The HTTP method type.</p>"""
    path_match: NotRequired["capo_vpc_lattice.types.path_match.PathMatch"]
    """<p>The path match.</p>"""
    header_matches: NotRequired[
        "capo_vpc_lattice.types.header_match_list.HeaderMatchList"
    ]
    """<p>The header matches. Matches incoming requests with rule based on request header value before applying rule action.</p>"""

header_matches instance-attribute

header_matches: NotRequired[HeaderMatchList]

The header matches. Matches incoming requests with rule based on request header value before applying rule action.

method instance-attribute

method: NotRequired[HttpMethod]

The HTTP method type.

path_match instance-attribute

path_match: NotRequired[PathMatch]

The path match.