Filter - 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.

Filter

A single logging filter, used in LoggingFilter.

Contents

Behavior

How to handle logs that satisfy the filter's conditions and requirement.

Type: String

Valid Values: KEEP | DROP

Required: Yes

Conditions

Match conditions for the filter.

Type: Array of Condition objects

Array Members: Minimum number of 1 item.

Required: Yes

Requirement

Logic to apply to the filtering conditions. You can specify that, in order to satisfy the filter, a log must match all conditions or must match at least one condition.

Type: String

Valid Values: MEETS_ALL | MEETS_ANY

Required: Yes

See Also

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