Interface CfnLoggingConfiguration.IConditionProperty
A single match condition for a log filter.
Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnLoggingConfiguration.IConditionProperty
Syntax (vb)
Public Interface 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
Properties
| ActionCondition | A single action condition. |
| LabelNameCondition | A single label name condition. |
Properties
ActionCondition
A single action condition.
object? ActionCondition { get; }
Property Value
Remarks
This is the action setting that a log record must contain in order to meet the condition.
Type union: either IResolvable or CfnLoggingConfiguration.IActionConditionProperty
LabelNameCondition
A single label name condition.
object? LabelNameCondition { get; }
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.
Type union: either IResolvable or CfnLoggingConfiguration.ILabelNameConditionProperty