interface CfnRegexPatternSetProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.WAFRegional.CfnRegexPatternSetProps |
Java | software.amazon.awscdk.services.waf.regional.CfnRegexPatternSetProps |
Python | aws_cdk.aws_wafregional.CfnRegexPatternSetProps |
TypeScript | @aws-cdk/aws-wafregional » CfnRegexPatternSetProps |
Properties for defining a CfnRegexPatternSet
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as wafregional from '@aws-cdk/aws-wafregional';
const cfnRegexPatternSetProps: wafregional.CfnRegexPatternSetProps = {
name: 'name',
regexPatternStrings: ['regexPatternStrings'],
};
Properties
Name | Type | Description |
---|---|---|
name | string | A friendly name or description of the RegexPatternSet . |
regex | string[] | Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as B[a@]dB[o0]t . |
name
Type:
string
A friendly name or description of the RegexPatternSet
.
You can't change Name
after you create a RegexPatternSet
.
regexPatternStrings
Type:
string[]
Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as B[a@]dB[o0]t
.