Skip to content
v2.273.0

CfnRegexPatternSetProps Struct ​

Properties for defining a CfnRegexPatternSet.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wafregional as wafregional } from 'aws-cdk-lib';
const cfnRegexPatternSetProps: wafregional.CfnRegexPatternSetProps = {
  name: 'name',
  regexPatternStrings: ['regexPatternStrings'],
};

Properties ​

namestringnamestrnameStringNamestringName*stringrequired#
A friendly name or description of the `RegexPatternSet` .

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

regexPatternStringsstring[]regex_pattern_stringstyping.List[str]regexPatternStringsList<String>RegexPatternStringsstring[]RegexPatternStrings*[]*stringrequired#
Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t` .

Used as props by ​