Class: Aws::Route53::Types::GeoProximityLocation

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

Overview

(Resource record sets only): A complex type that lets you specify where your resources are located. Only one of LocalZoneGroup, Coordinates, or Amazon Web ServicesRegion is allowed per request at a time.

For more information about geoproximity routing, see Geoproximity routing in the Amazon Route 53 Developer Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#aws_regionString

The Amazon Web Services Region the resource you are directing DNS traffic to, is in.

Returns:

  • (String)


2492
2493
2494
2495
2496
2497
2498
2499
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 2492

class GeoProximityLocation < Struct.new(
  :aws_region,
  :local_zone_group,
  :coordinates,
  :bias)
  SENSITIVE = []
  include Aws::Structure
end

#biasInteger

The bias increases or decreases the size of the geographic region from which Route 53 routes traffic to a resource.

To use Bias to change the size of the geographic region, specify the applicable value for the bias:

  • To expand the size of the geographic region from which Route 53 routes traffic to a resource, specify a positive integer from 1 to 99 for the bias. Route 53 shrinks the size of adjacent regions.

  • To shrink the size of the geographic region from which Route 53 routes traffic to a resource, specify a negative bias of -1 to

    1. Route 53 expands the size of adjacent regions.

Returns:

  • (Integer)


2492
2493
2494
2495
2496
2497
2498
2499
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 2492

class GeoProximityLocation < Struct.new(
  :aws_region,
  :local_zone_group,
  :coordinates,
  :bias)
  SENSITIVE = []
  include Aws::Structure
end

#coordinatesTypes::Coordinates

Contains the longitude and latitude for a geographic region.

Returns:



2492
2493
2494
2495
2496
2497
2498
2499
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 2492

class GeoProximityLocation < Struct.new(
  :aws_region,
  :local_zone_group,
  :coordinates,
  :bias)
  SENSITIVE = []
  include Aws::Structure
end

#local_zone_groupString

Specifies an Amazon Web Services Local Zone Group.

A local Zone Group is usually the Local Zone code without the ending character. For example, if the Local Zone is us-east-1-bue-1a the Local Zone Group is us-east-1-bue-1.

You can identify the Local Zones Group for a specific Local Zone by using the describe-availability-zones CLI command:

This command returns: "GroupName": "us-west-2-den-1", specifying that the Local Zone us-west-2-den-1a belongs to the Local Zone Group us-west-2-den-1.

Returns:

  • (String)


2492
2493
2494
2495
2496
2497
2498
2499
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 2492

class GeoProximityLocation < Struct.new(
  :aws_region,
  :local_zone_group,
  :coordinates,
  :bias)
  SENSITIVE = []
  include Aws::Structure
end