ApiPatternFilter - AWS WAFV2
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

ApiPatternFilter

An API pattern to filter events by, used in ListEvents and ListEventsByWebACL.

Contents

Domains

The domains that you want the filter to match. You can specify up to 10 domains.

Type: Array of strings

Array Members: Maximum number of 10 items.

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

Required: No

Method

The HTTP method that you want the filter to match. For example, GET or POST.

Type: String

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

Required: No

PathPattern

The normalized URI path that you want the filter to match. For example, /api/v1/accounts/{id}.

Type: String

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

Required: No

Port

The port that you want the filter to match. For example, 443.

Type: Integer

Valid Range: Minimum value of 0. Maximum value of 65535.

Required: No

See Also

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