CfnSqlInjectionMatchSetProps

class aws_cdk.aws_wafregional.CfnSqlInjectionMatchSetProps(*, name, sql_injection_match_tuples=None)

Bases: object

Properties for defining a CfnSqlInjectionMatchSet.

Parameters:
  • name (str) – The name, if any, of the SqlInjectionMatchSet .

  • sql_injection_match_tuples (Union[IResolvable, Sequence[Union[IResolvable, SqlInjectionMatchTupleProperty, Dict[str, Any]]], None]) – Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-sqlinjectionmatchset.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_sql_injection_match_set_props = wafregional.CfnSqlInjectionMatchSetProps(
    name="name",

    # the properties below are optional
    sql_injection_match_tuples=[wafregional.CfnSqlInjectionMatchSet.SqlInjectionMatchTupleProperty(
        field_to_match=wafregional.CfnSqlInjectionMatchSet.FieldToMatchProperty(
            type="type",

            # the properties below are optional
            data="data"
        ),
        text_transformation="textTransformation"
    )]
)

Attributes

name

The name, if any, of the SqlInjectionMatchSet .

See:

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

sql_injection_match_tuples

Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.

See:

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