The RegexPatternSet specifies the regular expression (regex) pattern that you want AWS WAF to search for, such as B[a@]dB[o0]t. You can then configure AWS WAF to reject those requests.

interface RegexPatternSet {
    description?: string;
    name: string;
    regularExpressionList: string[];
    tags?: CfnTag[];
}

Properties

description?: string
name: string

@TJS-pattern ^[a-zA-Z0-9]+$

regularExpressionList: string[]

Defines an Array of Regular Expressions

tags?: CfnTag[]

Defines Array of Tags to be added to the RegexPatternSet More info: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html