You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::WAF::Types::GeoMatchSet

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#geo_match_constraintsArray<Types::GeoMatchConstraint>

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

Returns:



1615
1616
1617
1618
1619
1620
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 1615

class GeoMatchSet < Struct.new(
  :geo_match_set_id,
  :name,
  :geo_match_constraints)
  include Aws::Structure
end

#geo_match_set_idString

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.

Returns:

  • (String)


1615
1616
1617
1618
1619
1620
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 1615

class GeoMatchSet < Struct.new(
  :geo_match_set_id,
  :name,
  :geo_match_constraints)
  include Aws::Structure
end

#nameString

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

Returns:

  • (String)


1615
1616
1617
1618
1619
1620
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 1615

class GeoMatchSet < Struct.new(
  :geo_match_set_id,
  :name,
  :geo_match_constraints)
  include Aws::Structure
end