Skip to content

GeoProximityLocation

Source code in docs_src/capo_route_53/types/geo_proximity_location.py
class GeoProximityLocation(TypedDict, closed=True):
    aws_region: NotRequired["capo_route_53.types.aws_region.AWSRegion"]
    """<p> The Amazon Web Services Region the resource you are directing DNS traffic to, is in. </p>"""
    local_zone_group: NotRequired["capo_route_53.types.local_zone_group.LocalZoneGroup"]
    """<p> Specifies an Amazon Web Services Local Zone Group. </p> <p>A local Zone Group is usually the Local Zone code without the ending character. For example, if the Local Zone is <code>us-east-1-bue-1a</code> the Local Zone Group is <code>us-east-1-bue-1</code>.</p> <p>You can identify the Local Zones Group for a specific Local Zone by using the <a href="https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-availability-zones.html">describe-availability-zones</a> CLI command:</p> <p>This command returns: <code>"GroupName": "us-west-2-den-1"</code>, specifying that the Local Zone <code>us-west-2-den-1a</code> belongs to the Local Zone Group <code>us-west-2-den-1</code>.</p>"""
    coordinates: NotRequired["capo_route_53.types.coordinates.Coordinates"]
    """<p> Contains the longitude and latitude for a geographic region. </p>"""
    bias: NotRequired["capo_route_53.types.bias.Bias"]
    """<p> The bias increases or decreases the size of the geographic region from which Route 53 routes traffic to a resource. </p> <p>To use <code>Bias</code> to change the size of the geographic region, specify the applicable value for the bias:</p> <ul> <li> <p>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. </p> </li> <li> <p>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. </p> </li> </ul>"""

aws_region instance-attribute

aws_region: NotRequired[AWSRegion]

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

bias instance-attribute

bias: NotRequired[Bias]

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.

coordinates instance-attribute

coordinates: NotRequired[Coordinates]

Contains the longitude and latitude for a geographic region.

local_zone_group instance-attribute

local_zone_group: NotRequired[LocalZoneGroup]

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.