Interface CfnLoggingConfiguration.IConditionProperty
A single match condition for a log filter.
Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.AWS.WAFv2.dll
Syntax (csharp)
public interface IConditionProperty
Syntax (vb)
Public Interface IConditionProperty
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 conditionProperty = new ConditionProperty {
ActionCondition = new ActionConditionProperty {
Action = "action"
},
LabelNameCondition = new LabelNameConditionProperty {
LabelName = "labelName"
}
};
Synopsis
Properties
ActionCondition | A single action condition. |
LabelNameCondition | A single label name condition. |
Properties
ActionCondition
A single action condition.
virtual object ActionCondition { get; }
Property Value
System.Object
Remarks
This is the action setting that a log record must contain in order to meet the condition.
LabelNameCondition
A single label name condition.
virtual object LabelNameCondition { get; }
Property Value
System.Object
Remarks
This is the fully qualified label name that a log record must contain in order to meet the condition. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.