CfnByteMatchSetProps

class aws_cdk.aws_waf.CfnByteMatchSetProps(*, name, byte_match_tuples=None)

Bases: object

Properties for defining a CfnByteMatchSet.

Parameters:
  • name (str) – The name of the ByteMatchSet . You can’t change Name after you create a ByteMatchSet .

  • byte_match_tuples (Union[IResolvable, Sequence[Union[IResolvable, ByteMatchTupleProperty, Dict[str, Any]]], None]) – Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.

See:

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

cfn_byte_match_set_props = waf.CfnByteMatchSetProps(
    name="name",

    # the properties below are optional
    byte_match_tuples=[waf.CfnByteMatchSet.ByteMatchTupleProperty(
        field_to_match=waf.CfnByteMatchSet.FieldToMatchProperty(
            type="type",

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

        # the properties below are optional
        target_string="targetString",
        target_string_base64="targetStringBase64"
    )]
)

Attributes

byte_match_tuples

Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.

See:

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

name

The name of the ByteMatchSet .

You can’t change Name after you create a ByteMatchSet .

See:

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