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 theByteMatchSet
. You can’t changeName
after you create aByteMatchSet
.byte_match_tuples (
Union
[IResolvable
,Sequence
[Union
[ByteMatchTupleProperty
,Dict
[str
,Any
],IResolvable
]],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.
- Link:
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. import aws_cdk.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.
- name
The name of the
ByteMatchSet
.You can’t change
Name
after you create aByteMatchSet
.