interface ConditionProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.WAFv2.CfnLoggingConfiguration.ConditionProperty |
Java | software.amazon.awscdk.services.wafv2.CfnLoggingConfiguration.ConditionProperty |
Python | aws_cdk.aws_wafv2.CfnLoggingConfiguration.ConditionProperty |
TypeScript | @aws-cdk/aws-wafv2 » CfnLoggingConfiguration » ConditionProperty |
A single match condition for a log filter.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as wafv2 from '@aws-cdk/aws-wafv2';
const conditionProperty: wafv2.CfnLoggingConfiguration.ConditionProperty = {
actionCondition: {
action: 'action',
},
labelNameCondition: {
labelName: 'labelName',
},
};
Properties
Name | Type | Description |
---|---|---|
action | IResolvable | Action | A single action condition. |
label | IResolvable | Label | A single label name condition. |
actionCondition?
Type:
IResolvable
|
Action
(optional)
A single action condition.
This is the action setting that a log record must contain in order to meet the condition.
labelNameCondition?
Type:
IResolvable
|
Label
(optional)
A single label name condition.
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.