aws-cdk-lib.aws_wafregional.CfnSizeConstraintSetProps

interface CfnSizeConstraintSetProps

LanguageType name
.NETAmazon.CDK.AWS.WAFRegional.CfnSizeConstraintSetProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awswafregional#CfnSizeConstraintSetProps
Javasoftware.amazon.awscdk.services.waf.regional.CfnSizeConstraintSetProps
Pythonaws_cdk.aws_wafregional.CfnSizeConstraintSetProps
TypeScript aws-cdk-lib » aws_wafregional » CfnSizeConstraintSetProps

Properties for defining a CfnSizeConstraintSet.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wafregional as wafregional } from 'aws-cdk-lib';
const cfnSizeConstraintSetProps: wafregional.CfnSizeConstraintSetProps = {
  name: 'name',

  // the properties below are optional
  sizeConstraints: [{
    comparisonOperator: 'comparisonOperator',
    fieldToMatch: {
      type: 'type',

      // the properties below are optional
      data: 'data',
    },
    size: 123,
    textTransformation: 'textTransformation',
  }],
};

Properties

NameTypeDescription
namestringThe name, if any, of the SizeConstraintSet .
sizeConstraints?IResolvable | IResolvable | SizeConstraintProperty[]The size constraint and the part of the web request to check.

name

Type: string

The name, if any, of the SizeConstraintSet .


sizeConstraints?

Type: IResolvable | IResolvable | SizeConstraintProperty[] (optional)

The size constraint and the part of the web request to check.