Class CfnLoggingConfiguration.FilterProperty
A single logging filter, used in LoggingFilter
.
Inheritance
System.Object
CfnLoggingConfiguration.FilterProperty
Implements
Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class FilterProperty : Object, CfnLoggingConfiguration.IFilterProperty
Syntax (vb)
Public Class FilterProperty
Inherits Object
Implements CfnLoggingConfiguration.IFilterProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.WAFv2;
var filterProperty = new FilterProperty {
Behavior = "behavior",
Conditions = new [] { new ConditionProperty {
ActionCondition = new ActionConditionProperty {
Action = "action"
},
LabelNameCondition = new LabelNameConditionProperty {
LabelName = "labelName"
}
} },
Requirement = "requirement"
};
Synopsis
Constructors
FilterProperty() |
Properties
Behavior | How to handle logs that satisfy the filter's conditions and requirement. |
Conditions | Match conditions for the filter. |
Requirement | Logic to apply to the filtering conditions. |
Constructors
FilterProperty()
public FilterProperty()
Properties
Behavior
How to handle logs that satisfy the filter's conditions and requirement.
public string Behavior { get; set; }
Property Value
System.String
Remarks
Conditions
Match conditions for the filter.
public object Conditions { get; set; }
Property Value
System.Object
Remarks
Requirement
Logic to apply to the filtering conditions.
public string Requirement { get; set; }
Property Value
System.String
Remarks
You can specify that, in order to satisfy the filter, a log must match all conditions or must match at least one condition.