Route 53 Record Set GeoLocation Property
The GeoLocation property is part of the AWS::Route53::RecordSet resource that describes how Route 53 responds to DNS queries based on the geographic
location
of the query. This property is not compatible with the Region
property.
Syntax
JSON
{ "ContinentCode" :String, "CountryCode" :String, "SubdivisionCode" :String}
YAML
ContinentCode:StringCountryCode:StringSubdivisionCode:String
Properties
ContinentCode-
All DNS queries from the continent that you specified are routed to this resource record set. If you specify this property, omit the
CountryCodeandSubdivisionCodeproperties.For valid values, see GeoLocation in the Amazon Route 53 API Reference.
Type: String
Required: Conditional. You must specify this or the
CountryCodeproperty. CountryCode-
All DNS queries from the country that you specified are routed to this resource record set. If you specify this property, omit the
ContinentCodeproperty. To specify the default location, use * for this property.For valid values, see GeoLocation in the Amazon Route 53 API Reference.
Type: String
Required: Conditional. You must specify this or the
ContinentCodeproperty. SubdivisionCode-
If you specified
USfor the country code, you can specify a state in the United States. All DNS queries from the state that you specified are routed to this resource record set. If you specify this property, you must specifyUSfor theCountryCodeand omit theContinentCodeproperty.For valid values, see GeoLocation in the Amazon Route 53 API Reference.
Type: String
Required: No
