AWS::WAFv2::LoggingConfiguration Filter - Amazon CloudFormation
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).

AWS::WAFv2::LoggingConfiguration Filter

A single logging filter, used in LoggingFilter.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Behavior" : String, "Conditions" : [ Condition, ... ], "Requirement" : String }

YAML

Behavior: String Conditions: - Condition Requirement: String

Properties

Behavior

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

Required: Yes

Type: String

Allowed values: KEEP | DROP

Update requires: No interruption

Conditions

Match conditions for the filter.

Required: Yes

Type: Array of Condition

Minimum: 1

Update requires: No interruption

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.

Required: Yes

Type: String

Allowed values: MEETS_ALL | MEETS_ANY

Update requires: No interruption