aws-cdk-lib.aws_wafv2.CfnLoggingConfiguration.LabelNameConditionProperty

interface LabelNameConditionProperty

LanguageType name
.NETAmazon.CDK.AWS.WAFv2.CfnLoggingConfiguration.LabelNameConditionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awswafv2#CfnLoggingConfiguration_LabelNameConditionProperty
Javasoftware.amazon.awscdk.services.wafv2.CfnLoggingConfiguration.LabelNameConditionProperty
Pythonaws_cdk.aws_wafv2.CfnLoggingConfiguration.LabelNameConditionProperty
TypeScript aws-cdk-lib » aws_wafv2 » CfnLoggingConfiguration » LabelNameConditionProperty

A single label name condition for a condition in a logging 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-lib';
const labelNameConditionProperty: wafv2.CfnLoggingConfiguration.LabelNameConditionProperty = {
  labelName: 'labelName',
};

Properties

NameTypeDescription
labelNamestringThe label name that a log record must contain in order to meet the condition.

labelName

Type: string

The label name that a log record must contain in order to meet the condition.

This must be a fully qualified label name. 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.