This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::Route53::RecordSet GeoLocation
A complex type that contains information about a geographic location.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "ContinentCode" :String, "CountryCode" :String, "SubdivisionCode" :String}
YAML
ContinentCode:StringCountryCode:StringSubdivisionCode:String
Properties
ContinentCode-
For geolocation resource record sets, a two-letter abbreviation that identifies a continent. Route 53 supports the following continent codes:
-
AF: Africa
-
AN: Antarctica
-
AS: Asia
-
EU: Europe
-
OC: Oceania
-
NA: North America
-
SA: South America
Constraint: Specifying
ContinentCodewith eitherCountryCodeorSubdivisionCodereturns anInvalidInputerror.Required: No
Type: String
Minimum:
2Maximum:
2Update requires: No interruption
-
CountryCode-
For geolocation resource record sets, the two-letter code for a country.
Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2
. Required: No
Type: String
Minimum:
1Maximum:
2Update requires: No interruption
SubdivisionCode-
For geolocation resource record sets, the two-letter code for a state of the United States. Route 53 doesn't support any other values for
SubdivisionCode. For a list of state abbreviations, see Appendix B: Two–Letter State and Possession Abbreviationson the United States Postal Service website. If you specify
subdivisioncode, you must also specifyUSforCountryCode.Required: No
Type: String
Minimum:
1Maximum:
3Update requires: No interruption
See also
-
Return values in the topic AWS::Route53::RecordSet
-
GeoLocation in the Amazon Route 53 API Reference