CfnSqlInjectionMatchSetProps

class aws_cdk.aws_waf.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.

Link:

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

cfn_sql_injection_match_set_props = waf.CfnSqlInjectionMatchSetProps(
    name="name",

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

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

Attributes

name

The name, if any, of the SqlInjectionMatchSet .

Link:

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

sql_injection_match_tuples

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

Link:

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