Interface CfnLoggingConfiguration.IFilterProperty
A single logging filter, used in LoggingFilter
.
Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.AWS.WAFv2.dll
Syntax (csharp)
public interface IFilterProperty
Syntax (vb)
Public Interface 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
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. |
Properties
Behavior
How to handle logs that satisfy the filter's conditions and requirement.
string Behavior { get; }
Property Value
System.String
Remarks
Conditions
Match conditions for the filter.
object Conditions { get; }
Property Value
System.Object
Remarks
Requirement
Logic to apply to the filtering conditions.
string Requirement { get; }
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.