@Stability(value=Stable)
public static interface CfnRecordSet.GeoLocationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.route53.*; GeoLocationProperty geoLocationProperty = GeoLocationProperty.builder() .continentCode("continentCode") .countryCode("countryCode") .subdivisionCode("subdivisionCode") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnRecordSet.GeoLocationProperty.Builder
A builder for
CfnRecordSet.GeoLocationProperty |
static class |
CfnRecordSet.GeoLocationProperty.Jsii$Proxy
An implementation for
CfnRecordSet.GeoLocationProperty |
Modifier and Type | Method and Description |
---|---|
static CfnRecordSet.GeoLocationProperty.Builder |
builder() |
default String |
getContinentCode()
For geolocation resource record sets, a two-letter abbreviation that identifies a continent.
|
default String |
getCountryCode()
For geolocation resource record sets, the two-letter code for a country.
|
default String |
getSubdivisionCode()
For geolocation resource record sets, the two-letter code for a state of the United States.
|
@Stability(value=Stable) @Nullable default String getContinentCode()
Constraint: Specifying ContinentCode
with either CountryCode
or SubdivisionCode
returns an InvalidInput
error.
@Stability(value=Stable) @Nullable default String getCountryCode()
Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2 .
@Stability(value=Stable) @Nullable default String getSubdivisionCode()
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
.
@Stability(value=Stable) static CfnRecordSet.GeoLocationProperty.Builder builder()
Copyright © 2023. All rights reserved.