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

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::WAFv2::LoggingConfiguration Filter

A single logging filter, used in LoggingFilter.

Syntax

To declare this entity in your 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