aws-cdk-lib.aws_wafv2.CfnRuleGroup.LabelSummaryProperty

interface LabelSummaryProperty

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

List of labels used by one or more of the rules of a RuleGroup .

This summary object is used for the following rule group lists:

  • AvailableLabels - Labels that rules add to matching requests. These labels are defined in the RuleLabels for a rule.
  • ConsumedLabels - Labels that rules match against. These labels are defined in a LabelMatchStatement specification, in the Statement definition of 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 labelSummaryProperty: wafv2.CfnRuleGroup.LabelSummaryProperty = {
  name: 'name',
};

Properties

NameTypeDescription
name?stringAn individual label specification.

name?

Type: string (optional)

An individual label specification.