CfnRegexPatternSetProps
- class aws_cdk.aws_wafregional.CfnRegexPatternSetProps(*, name, regex_pattern_strings)
Bases:
object
Properties for defining a
CfnRegexPatternSet
.- Parameters:
name (
str
) – A friendly name or description of theRegexPatternSet
. You can’t changeName
after 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
.
- Link:
- 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_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
Name
after 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
.