stratosphere-0.2.1: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.ResourceProperties.RecordSetGeoLocation

Description

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.

Synopsis

Documentation

data RecordSetGeoLocation Source #

Full data type definition for RecordSetGeoLocation. See recordSetGeoLocation for a more convenient constructor.

Instances

Show RecordSetGeoLocation Source # 
Generic RecordSetGeoLocation Source # 
ToJSON RecordSetGeoLocation Source # 
FromJSON RecordSetGeoLocation Source # 
type Rep RecordSetGeoLocation Source # 
type Rep RecordSetGeoLocation = D1 (MetaData "RecordSetGeoLocation" "Stratosphere.ResourceProperties.RecordSetGeoLocation" "stratosphere-0.2.1-7UjeTxLOKRACY1vyFAxa7V" False) (C1 (MetaCons "RecordSetGeoLocation" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_recordSetGeoLocationContinentCode") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_recordSetGeoLocationCountryCode") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) (S1 (MetaSel (Just Symbol "_recordSetGeoLocationSubdivisionCode") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))))))

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