CfnByteMatchSetMixinProps
- class aws_cdk.mixins_preview.aws_wafregional.mixins.CfnByteMatchSetMixinProps(*, byte_match_tuples=None, name=None)
Bases:
objectProperties for CfnByteMatchSetPropsMixin.
- Parameters:
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.name (
Optional[str]) – A friendly name or description of theByteMatchSet. You can’t changeNameafter you create aByteMatchSet.
- 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.mixins_preview.aws_wafregional import mixins as wafregional_mixins cfn_byte_match_set_mixin_props = wafregional_mixins.CfnByteMatchSetMixinProps( byte_match_tuples=[wafregional_mixins.CfnByteMatchSetPropsMixin.ByteMatchTupleProperty( field_to_match=wafregional_mixins.CfnByteMatchSetPropsMixin.FieldToMatchProperty( data="data", type="type" ), positional_constraint="positionalConstraint", target_string="targetString", target_string_base64="targetStringBase64", text_transformation="textTransformation" )], name="name" )
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
Nameafter you create aByteMatchSet.