CookieMatchPattern - AWS WAFV2

CookieMatchPattern

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

You must specify exactly one setting: either All, IncludedCookies, or ExcludedCookies.

Example JSON: "MatchPattern": { "IncludedCookies": [ "session-id-time", "session-id" ] }

Contents

All

Inspect all cookies.

Type: All object

Required: No

ExcludedCookies

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

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 199 items.

Length Constraints: Minimum length of 1. Maximum length of 60.

Pattern: .*\S.*

Required: No

IncludedCookies

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

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 199 items.

Length Constraints: Minimum length of 1. Maximum length of 60.

Pattern: .*\S.*

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: