GeoLocationArgs

data class GeoLocationArgs(val continentCode: Output<String>? = null, val countryCode: Output<String>? = null, val subdivisionCode: Output<String>? = null) : ConvertibleToJava<GeoLocationArgs>

Definition of GeoLocation

Constructors

Link copied to clipboard
constructor(continentCode: Output<String>? = null, countryCode: Output<String>? = null, subdivisionCode: Output<String>? = null)

Properties

Link copied to clipboard
val continentCode: Output<String>? = null

The two-letter code for the continent.

Amazon 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.

Link copied to clipboard
val countryCode: Output<String>? = null

For geolocation resource record sets, the two-letter code for a country.

Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.

Route 53 also supports the country code UA for Ukraine.

Link copied to clipboard
val subdivisionCode: Output<String>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): GeoLocationArgs