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