Safe Haskell | None |
---|---|
Language | Haskell2010 |
The GeoLocation property is part of the AWS::Route53::RecordSet resource that describes how Amazon Route 53 responds to DNS queries based on the geographic location of the query.
Documentation
data RecordSetGeoLocation Source
Full data type definition for RecordSetGeoLocation. See
recordSetGeoLocation
for a more convenient constructor.
recordSetGeoLocation :: RecordSetGeoLocation Source
Constructor for RecordSetGeoLocation
containing required fields as
arguments.
rsglContinentCode :: Lens' RecordSetGeoLocation (Maybe (Val Text)) Source
All DNS queries from the continent that you specified are routed to this resource record set. If you specify this property, omit the CountryCode and SubdivisionCode properties. For valid values, see the ContinentCode element in the Amazon Route 53 API Reference. Type: String
rsglCountryCode :: Lens' RecordSetGeoLocation (Maybe (Val Text)) Source
All DNS queries from the country that you specified are routed to this resource record set. If you specify this property, omit the ContinentCode property. For valid values, see the CountryCode element in the Amazon Route 53 API Reference. Type: String
rsglSubdivisionCode :: Lens' RecordSetGeoLocation (Maybe (Val Text)) Source
If you specified US for the country code, you can specify a state in the United States. All DNS queries from the state that you specified are routed to this resource record set. If you specify this property, you must specify US for the CountryCode and omit the ContinentCode property. For valid values, see the SubdivisionCode element in the Amazon Route 53 API Reference. Type: String