aws-cdk-lib.aws_wafv2.CfnRuleGroup.LabelProperty

interface LabelProperty

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

A single label container.

This is used as an element of a label array in RuleLabels inside a rule.

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 labelProperty: wafv2.CfnRuleGroup.LabelProperty = {
  name: 'name',
};

Properties

NameTypeDescription
namestringThe label string.

name

Type: string

The label string.