Skip to content
v2.273.0

CfnXssMatchSetProps Struct ​

Properties for defining a CfnXssMatchSet.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_waf as waf } from 'aws-cdk-lib';
const cfnXssMatchSetProps: waf.CfnXssMatchSetProps = {
  name: 'name',
  xssMatchTuples: [{
    fieldToMatch: {
      type: 'type',

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

Properties ​

namestringnamestrnameStringNamestringName*stringrequired#
The name, if any, of the `XssMatchSet` .
xssMatchTuplesIResolvable | IResolvable | CfnXssMatchSet.XssMatchTupleProperty[]xss_match_tuplestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, XssMatchTupleProperty]]]xssMatchTuplesIResolvableXssMatchTuplesIResolvableXssMatchTuplesinterface{}required#
Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.

Used as props by ​