aws-cdk-lib.aws_wafregional.CfnXssMatchSetProps

interface CfnXssMatchSetProps

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

Properties for defining a CfnXssMatchSet.

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 cfnXssMatchSetProps: wafregional.CfnXssMatchSetProps = {
  name: 'name',

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

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

Properties

NameTypeDescription
namestringThe name, if any, of the XssMatchSet .
xssMatchTuples?IResolvable | IResolvable | XssMatchTupleProperty[]Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.

name

Type: string

The name, if any, of the XssMatchSet .


xssMatchTuples?

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

Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.