Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

HeaderMatchPattern

import type { HeaderMatchPattern } from "https://aws-api.deno.dev/v0.4/services/wafv2.ts?docs=full";

The filter to use to identify the subset of headers to inspect in a web request.

You must specify exactly one setting: either All, IncludedHeaders, or ExcludedHeaders.

Example JSON: "MatchPattern": { "ExcludedHeaders": {"KeyToExclude1", "KeyToExclude2"} }

interface HeaderMatchPattern {
All?: All | null;
ExcludedHeaders?: string[] | null;
IncludedHeaders?: string[] | null;
}

§Properties

§
All?: All | null
[src]

Inspect all headers.

§
ExcludedHeaders?: string[] | null
[src]

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

§
IncludedHeaders?: string[] | null
[src]

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