Class CfnLoggingConfiguration.ConditionProperty
A single match condition for a log filter.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLoggingConfiguration.ConditionProperty : CfnLoggingConfiguration.IConditionProperty
Syntax (vb)
Public Class CfnLoggingConfiguration.ConditionProperty 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
ConditionProperty() | A single match condition for a log filter. |
Properties
ActionCondition | A single action condition. |
LabelNameCondition | A single label name condition. |
Constructors
ConditionProperty()
A single match condition for a log filter.
public ConditionProperty()
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"
}
};
Properties
ActionCondition
A single action condition.
public object? ActionCondition { get; set; }
Property Value
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
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.