CfnByteMatchSetMixinProps
- class aws_cdk.mixins_preview.aws_waf.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]) – The name of theByteMatchSet. You can’t changeNameafter you create aByteMatchSet.
- 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.mixins_preview.aws_waf import mixins as waf_mixins cfn_byte_match_set_mixin_props = waf_mixins.CfnByteMatchSetMixinProps( byte_match_tuples=[waf_mixins.CfnByteMatchSetPropsMixin.ByteMatchTupleProperty( field_to_match=waf_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
The name of the
ByteMatchSet.You can’t change
Nameafter you create aByteMatchSet.