Class CfnLoggingConfiguration.ConditionProperty
A single match condition for a log filter.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ConditionProperty : Object, CfnLoggingConfiguration.IConditionProperty
Syntax (vb)
Public Class ConditionProperty
Inherits Object
Implements CfnLoggingConfiguration.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
Constructors
Condition |
Properties
Action |
A single action condition. |
Label |
A single label name condition. |
Constructors
ConditionProperty()
public ConditionProperty()
Properties
ActionCondition
A single action condition.
public object ActionCondition { get; set; }
Property Value
System.
Remarks
This is the action setting that a log record must contain in order to meet the condition.
LabelNameCondition
A single label name condition.
public object LabelNameCondition { get; set; }
Property Value
System.
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.