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 the RegexPatternSet . You can’t change Name after you create a RegexPatternSet .

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

Link

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.
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 a RegexPatternSet .

Link

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

Return type

str

regex_pattern_strings

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

Link

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

Return type

List[str]