interface CfnRegexPatternSetProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.WAFRegional.CfnRegexPatternSetProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awswafregional#CfnRegexPatternSetProps |
Java | software.amazon.awscdk.services.waf.regional.CfnRegexPatternSetProps |
Python | aws_cdk.aws_wafregional.CfnRegexPatternSetProps |
TypeScript | aws-cdk-lib » 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 { aws_wafregional as wafregional } from 'aws-cdk-lib';
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 .

.NET
Go
Java
Python
TypeScript