AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

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.

Inheritance Hierarchy

System.Object
  Amazon.WAFRegional.Model.RegexPatternSet

Namespace: Amazon.WAFRegional.Model
Assembly: AWSSDK.WAFRegional.dll
Version: 3.x.y.z

Syntax

C#
public class RegexPatternSet

The RegexPatternSet type exposes the following members

Constructors

NameDescription
Public Method RegexPatternSet()

Properties

NameTypeDescription
Public Property Name System.String

Gets and sets the property Name.

A friendly name or description of the RegexPatternSet. You can't change Name after you create a RegexPatternSet.

Public Property RegexPatternSetId System.String

Gets and sets the property RegexPatternSetId.

The identifier for the RegexPatternSet. You use RegexPatternSetId to get information about a RegexPatternSet, update a RegexPatternSet, remove a RegexPatternSet from a RegexMatchSet, and delete a RegexPatternSet from AWS WAF.

RegexMatchSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

Public Property RegexPatternStrings System.Collections.Generic.List<System.String>

Gets and sets the property RegexPatternStrings.

Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as B[a@]dB[o0]t.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5