Class CfnLoggingConfiguration.ActionConditionProperty
A single action condition for a condition in a logging filter.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLoggingConfiguration.ActionConditionProperty : CfnLoggingConfiguration.IActionConditionProperty
Syntax (vb)
Public Class CfnLoggingConfiguration.ActionConditionProperty Implements CfnLoggingConfiguration.IActionConditionProperty
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 actionConditionProperty = new ActionConditionProperty {
Action = "action"
};
Synopsis
Constructors
| ActionConditionProperty() | A single action condition for a condition in a logging filter. |
Properties
| Action | The action setting that a log record must contain in order to meet the condition. |
Constructors
ActionConditionProperty()
A single action condition for a condition in a logging filter.
public ActionConditionProperty()
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 actionConditionProperty = new ActionConditionProperty {
Action = "action"
};
Properties
Action
The action setting that a log record must contain in order to meet the condition.
public string Action { get; set; }
Property Value
Remarks
This is the action that AWS WAF applied to the web request.
For rule groups, this is either the configured rule action setting, or if you've applied a rule action override to the rule, it's the override action. The value EXCLUDED_AS_COUNT matches on excluded rules and also on rules that have a rule action override of Count.