Interface CfnRecordSet.GeoProximityLocationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRecordSet.GeoProximityLocationProperty.Jsii$Proxy
- Enclosing class:
CfnRecordSet
Only one of LocalZoneGroup
, Coordinates
, or AWS Region
is allowed per request at a time.
For more information about geoproximity routing, see Geoproximity routing in the Amazon Route 53 Developer Guide .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.route53.*; GeoProximityLocationProperty geoProximityLocationProperty = GeoProximityLocationProperty.builder() .awsRegion("awsRegion") .bias(123) .coordinates(CoordinatesProperty.builder() .latitude("latitude") .longitude("longitude") .build()) .localZoneGroup("localZoneGroup") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRecordSet.GeoProximityLocationProperty
static final class
An implementation forCfnRecordSet.GeoProximityLocationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The AWS Region the resource you are directing DNS traffic to, is in.default Number
getBias()
The bias increases or decreases the size of the geographic region from which Route 53 routes traffic to a resource.default Object
Contains the longitude and latitude for a geographic region.default String
Specifies an AWS Local Zone Group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAwsRegion
The AWS Region the resource you are directing DNS traffic to, is in.- See Also:
-
getBias
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.
- See Also:
-
getCoordinates
Contains the longitude and latitude for a geographic region.- See Also:
-
getLocalZoneGroup
Specifies an AWS 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 isus-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 Zoneus-west-2-den-1a
belongs to the Local Zone Groupus-west-2-den-1
.- See Also:
-
builder
-