CfnRegexPatternSetProps
- class aws_cdk.aws_wafregional.CfnRegexPatternSetProps(*, name, regex_pattern_strings)
Bases:
objectProperties for defining a
CfnRegexPatternSet.- Parameters:
name (
str) – A friendly name or description of theRegexPatternSet. You can’t changeNameafter you create aRegexPatternSet.regex_pattern_strings (
Sequence[str]) – Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such asB[a@]dB[o0]t.
- 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_regex_pattern_set_props = wafregional.CfnRegexPatternSetProps( name="name", regex_pattern_strings=["regexPatternStrings"] )
Attributes
- name
A friendly name or description of the
RegexPatternSet.You can’t change
Nameafter you create aRegexPatternSet.
- regex_pattern_strings
Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as
B[a@]dB[o0]t.