CfnXssMatchSetMixinProps

class aws_cdk.mixins_preview.aws_waf.mixins.CfnXssMatchSetMixinProps(*, name=None, xss_match_tuples=None)

Bases: object

Properties for CfnXssMatchSetPropsMixin.

Parameters:
  • name (Optional[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-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.
from aws_cdk.mixins_preview.aws_waf import mixins as waf_mixins

cfn_xss_match_set_mixin_props = waf_mixins.CfnXssMatchSetMixinProps(
    name="name",
    xss_match_tuples=[waf_mixins.CfnXssMatchSetPropsMixin.XssMatchTupleProperty(
        field_to_match=waf_mixins.CfnXssMatchSetPropsMixin.FieldToMatchProperty(
            data="data",
            type="type"
        ),
        text_transformation="textTransformation"
    )]
)

Attributes

name

The name, if any, of the XssMatchSet .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-xssmatchset.html#cfn-waf-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-waf-xssmatchset.html#cfn-waf-xssmatchset-xssmatchtuples