CfnXssMatchSetProps¶
-
class
aws_cdk.aws_wafregional.
CfnXssMatchSetProps
(*, name, xss_match_tuples=None)¶ Bases:
object
Properties for defining a
CfnXssMatchSet
.- Parameters
name (
str
) – The name, if any, of theXssMatchSet
.xss_match_tuples (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,XssMatchTupleProperty
]],None
]) – Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.
- Link
- 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_wafregional as wafregional cfn_xss_match_set_props = wafregional.CfnXssMatchSetProps( name="name", # the properties below are optional xss_match_tuples=[wafregional.CfnXssMatchSet.XssMatchTupleProperty( field_to_match=wafregional.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.
- Link
- Return type
Union
[IResolvable
,List
[Union
[IResolvable
,XssMatchTupleProperty
]],None
]