CfnRegexPatternSetMixinProps

class aws_cdk.mixins_preview.aws_wafregional.mixins.CfnRegexPatternSetMixinProps(*, name=None, regex_pattern_strings=None)

Bases: object

Properties for CfnRegexPatternSetPropsMixin.

Parameters:
  • name (Optional[str]) – A friendly name or description of the RegexPatternSet . You can’t change Name after you create a RegexPatternSet .

  • regex_pattern_strings (Optional[Sequence[str]]) – Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as B[a@]dB[o0]t .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-regexpatternset.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_wafregional import mixins as wafregional_mixins

cfn_regex_pattern_set_mixin_props = wafregional_mixins.CfnRegexPatternSetMixinProps(
    name="name",
    regex_pattern_strings=["regexPatternStrings"]
)

Attributes

name

A friendly name or description of the RegexPatternSet .

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

See:

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

regex_pattern_strings

Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as B[a@]dB[o0]t .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-regexpatternset.html#cfn-wafregional-regexpatternset-regexpatternstrings