Filter - Amazon WAFV2
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon SDKs, see the following: