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.

Contains one or more countries that AWS WAF will search for.

Inheritance Hierarchy

System.Object
  Amazon.WAF.Model.GeoMatchSet

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

Syntax

C#
public class GeoMatchSet

The GeoMatchSet type exposes the following members

Constructors

NameDescription
Public Method GeoMatchSet()

Properties

NameTypeDescription
Public Property GeoMatchConstraints System.Collections.Generic.List<Amazon.WAF.Model.GeoMatchConstraint>

Gets and sets the property GeoMatchConstraints.

An array of GeoMatchConstraint objects, which contain the country that you want AWS WAF to search for.

Public Property GeoMatchSetId System.String

Gets and sets the property GeoMatchSetId.

The GeoMatchSetId for an GeoMatchSet. You use GeoMatchSetId to get information about a GeoMatchSet (see GeoMatchSet), update a GeoMatchSet (see UpdateGeoMatchSet), insert a GeoMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a GeoMatchSet from AWS WAF (see DeleteGeoMatchSet).

GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets.

Public Property Name System.String

Gets and sets the property Name.

A friendly name or description of the GeoMatchSet. You can't change the name of an GeoMatchSet after you create it.

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