This is the new AWS 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 AWS CloudFormation template, use the following syntax:
JSON
{ "Behavior" :String, "Conditions" :[ Condition, ... ], "Requirement" :String}
YAML
Behavior:StringConditions:- ConditionRequirement:String
Properties
Behavior-
How to handle logs that satisfy the filter's conditions and requirement.
Required: Yes
Type: String
Allowed values:
KEEP | DROPUpdate requires: No interruption
Conditions-
Match conditions for the filter.
Required: Yes
Type: Array of Condition
Minimum:
1Update 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_ANYUpdate requires: No interruption