AWS::Route53::RecordSet GeoLocation - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Route53::RecordSet GeoLocation

A complex type that contains information about a geographic location.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "ContinentCode" : String, "CountryCode" : String, "SubdivisionCode" : String }

YAML

ContinentCode: String CountryCode: String SubdivisionCode: 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 ContinentCode with either CountryCode or SubdivisionCode returns an InvalidInput error.

Required: No

Type: String

Minimum: 2

Maximum: 2

Update 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: 1

Maximum: 2

Update 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 Abbreviations on the United States Postal Service website.

If you specify subdivisioncode, you must also specify US for CountryCode.

Required: No

Type: String

Minimum: 1

Maximum: 3

Update requires: No interruption

See also