Class: Aws::Route53::Types::GeoProximityLocation
- Inherits:
-
Struct
- Object
- Struct
- Aws::Route53::Types::GeoProximityLocation
- Includes:
- Structure
- Defined in:
- 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*.
[1]: docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy-geoproximity.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#aws_region ⇒ String
The Amazon Web Services Region the resource you are directing DNS traffic to, is in.
-
#bias ⇒ Integer
The bias increases or decreases the size of the geographic region from which Route 53 routes traffic to a resource.
-
#coordinates ⇒ Types::Coordinates
Contains the longitude and latitude for a geographic region.
-
#local_zone_group ⇒ String
Specifies an Amazon Web Services Local Zone Group.
Instance Attribute Details
#aws_region ⇒ String
The Amazon Web Services Region the resource you are directing DNS traffic to, is in.
2494 2495 2496 2497 2498 2499 2500 2501 |
# File 'lib/aws-sdk-route53/types.rb', line 2494 class GeoProximityLocation < Struct.new( :aws_region, :local_zone_group, :coordinates, :bias) SENSITIVE = [] include Aws::Structure end |
#bias ⇒ Integer
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 -99. Route 53 expands the size of adjacent regions.
2494 2495 2496 2497 2498 2499 2500 2501 |
# File 'lib/aws-sdk-route53/types.rb', line 2494 class GeoProximityLocation < Struct.new( :aws_region, :local_zone_group, :coordinates, :bias) SENSITIVE = [] include Aws::Structure end |
#coordinates ⇒ Types::Coordinates
Contains the longitude and latitude for a geographic region.
2494 2495 2496 2497 2498 2499 2500 2501 |
# File 'lib/aws-sdk-route53/types.rb', line 2494 class GeoProximityLocation < Struct.new( :aws_region, :local_zone_group, :coordinates, :bias) SENSITIVE = [] include Aws::Structure end |
#local_zone_group ⇒ String
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`.
[1]: docs.aws.amazon.com/cli/latest/reference/ec2/describe-availability-zones.html
2494 2495 2496 2497 2498 2499 2500 2501 |
# File 'lib/aws-sdk-route53/types.rb', line 2494 class GeoProximityLocation < Struct.new( :aws_region, :local_zone_group, :coordinates, :bias) SENSITIVE = [] include Aws::Structure end |