aws-cdk-lib.aws_wafv2.CfnRuleGroup.AllowProperty

interface AllowProperty

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

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 allowProperty: wafv2.CfnRuleGroup.AllowProperty = {
  customRequestHandling: {
    insertHeaders: [{
      name: 'name',
      value: 'value',
    }],
  },
};

Properties

NameTypeDescription
customRequestHandling?IResolvable | CustomRequestHandlingPropertyCfnRuleGroup.AllowProperty.CustomRequestHandling.

customRequestHandling?

Type: IResolvable | CustomRequestHandlingProperty (optional)

CfnRuleGroup.AllowProperty.CustomRequestHandling.