interface CfnXssMatchSetProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.WAF.CfnXssMatchSetProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awswaf#CfnXssMatchSetProps |
Java | software.amazon.awscdk.services.waf.CfnXssMatchSetProps |
Python | aws_cdk.aws_waf.CfnXssMatchSetProps |
TypeScript | aws-cdk-lib » aws_waf » CfnXssMatchSetProps |
Properties for defining a CfnXssMatchSet.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-xssmatchset.html
Example
// 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
| 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)[]
Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.

.NET
Go
Java
Python
TypeScript