CfnByteMatchSetProps
- class aws_cdk.aws_wafregional.CfnByteMatchSetProps(*, name, byte_match_tuples=None)
Bases:
object
Properties for defining a
CfnByteMatchSet
.- Parameters:
name (
str
) – A friendly name or description of theByteMatchSet
. You can’t changeName
after you create aByteMatchSet
.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:
- 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_byte_match_set_props = wafregional.CfnByteMatchSetProps( name="name", # the properties below are optional byte_match_tuples=[wafregional.CfnByteMatchSet.ByteMatchTupleProperty( field_to_match=wafregional.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.
- name
A friendly name or description of the
ByteMatchSet
.You can’t change
Name
after you create aByteMatchSet
.