interface CfnXssMatchSetProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.WAFRegional.CfnXssMatchSetProps |
Java | software.amazon.awscdk.services.waf.regional.CfnXssMatchSetProps |
Python | aws_cdk.aws_wafregional.CfnXssMatchSetProps |
TypeScript | @aws-cdk/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 * as wafregional from '@aws-cdk/aws-wafregional';
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
| Name | Type | Description |
|---|---|---|
| name | string | The name, if any, of the XssMatchSet . |
| xss | IResolvable | IResolvable | Xss[] | 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 | Xss[]
(optional)
Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.

.NET
Java
Python
TypeScript