interface ConditionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.WAFv2.CfnLoggingConfigurationPropsMixin.ConditionProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awswafv2#CfnLoggingConfigurationPropsMixin_ConditionProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnLoggingConfigurationPropsMixin.ConditionProperty |
Python | aws_cdk.cfn_property_mixins.aws_wafv2.CfnLoggingConfigurationPropsMixin.ConditionProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_wafv2 » CfnLoggingConfigurationPropsMixin » 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 { aws_wafv2 as wafv2 } from '@aws-cdk/cfn-property-mixins';
const conditionProperty: wafv2.CfnLoggingConfigurationPropsMixin.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.

.NET
Go
Java
Python
TypeScript