CfnXssMatchSetProps
- class aws_cdk.aws_waf.CfnXssMatchSetProps(*, name, xss_match_tuples)
Bases:
objectProperties for defining a
CfnXssMatchSet.- Parameters:
name (
str) – The name, if any, of theXssMatchSet.xss_match_tuples (
Union[IResolvable,Sequence[Union[IResolvable,XssMatchTupleProperty,Dict[str,Any]]]]) – Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
- Link:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-xssmatchset.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_waf as waf cfn_xss_match_set_props = waf.CfnXssMatchSetProps( name="name", xss_match_tuples=[waf.CfnXssMatchSet.XssMatchTupleProperty( field_to_match=waf.CfnXssMatchSet.FieldToMatchProperty( type="type", # the properties below are optional data="data" ), text_transformation="textTransformation" )] )
Attributes
- name
The name, if any, of the
XssMatchSet.
- xss_match_tuples
Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.