aws-cdk-lib.aws_wafregional.CfnRegexPatternSetProps

interface CfnRegexPatternSetProps

LanguageType name
.NETAmazon.CDK.AWS.WAFRegional.CfnRegexPatternSetProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awswafregional#CfnRegexPatternSetProps
Javasoftware.amazon.awscdk.services.waf.regional.CfnRegexPatternSetProps
Pythonaws_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

NameTypeDescription
namestringA friendly name or description of the RegexPatternSet .
regexPatternStringsstring[]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 .