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 the XssMatchSet .

  • xss_match_tuples (Union[IResolvable, Sequence[Union[IResolvable, XssMatchTupleProperty, Dict[str, Any]]], None]) – Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-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.
from aws_cdk import 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 .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-xssmatchset.html#cfn-wafregional-xssmatchset-name

xss_match_tuples

Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-xssmatchset.html#cfn-wafregional-xssmatchset-xssmatchtuples