AWS::Route53::RecordSet GeoLocation - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new 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 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