amazonka-lightsail-2.0: Amazon Lightsail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Lightsail.Types.RegisteredDomainDelegationInfo

Description

 
Synopsis

Documentation

data RegisteredDomainDelegationInfo Source #

Describes the delegation state of an Amazon Route 53 registered domain to Amazon Lightsail.

When you delegate an Amazon Route 53 registered domain to Lightsail, you can manage the DNS of the domain using a Lightsail DNS zone. You no longer use the Route 53 hosted zone to manage the DNS of the domain. To delegate the domain, Lightsail automatically updates the domain's name servers in Route 53 to the name servers of the Lightsail DNS zone. Then, Lightsail automatically deletes the Route 53 hosted zone for the domain.

All of the following conditions must be true for automatic domain delegation to be successful:

  • The registered domain must be in the same Amazon Web Services account as the Lightsail account making the request.
  • The user or entity making the request must have permission to manage domains in Route 53.
  • The Route 53 hosted zone for the domain must be empty. It cannot contain DNS records other than start of authority (SOA) and name server records.

If automatic domain delegation fails, or if you manage the DNS of your domain using a service other than Route 53, then you must manually add the Lightsail DNS zone name servers to your domain in order to delegate management of its DNS to Lightsail. For more information, see Creating a DNS zone to manage your domain’s records in Amazon Lightsail in the Amazon Lightsail Developer Guide.

See: newRegisteredDomainDelegationInfo smart constructor.

Constructors

RegisteredDomainDelegationInfo' 

Fields

Instances

Instances details
FromJSON RegisteredDomainDelegationInfo Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RegisteredDomainDelegationInfo

Generic RegisteredDomainDelegationInfo Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RegisteredDomainDelegationInfo

Associated Types

type Rep RegisteredDomainDelegationInfo :: Type -> Type #

Read RegisteredDomainDelegationInfo Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RegisteredDomainDelegationInfo

Show RegisteredDomainDelegationInfo Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RegisteredDomainDelegationInfo

NFData RegisteredDomainDelegationInfo Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RegisteredDomainDelegationInfo

Eq RegisteredDomainDelegationInfo Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RegisteredDomainDelegationInfo

Hashable RegisteredDomainDelegationInfo Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RegisteredDomainDelegationInfo

type Rep RegisteredDomainDelegationInfo Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RegisteredDomainDelegationInfo

type Rep RegisteredDomainDelegationInfo = D1 ('MetaData "RegisteredDomainDelegationInfo" "Amazonka.Lightsail.Types.RegisteredDomainDelegationInfo" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "RegisteredDomainDelegationInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nameServersUpdateState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NameServersUpdateState)) :*: S1 ('MetaSel ('Just "r53HostedZoneDeletionState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe R53HostedZoneDeletionState))))

newRegisteredDomainDelegationInfo :: RegisteredDomainDelegationInfo Source #

Create a value of RegisteredDomainDelegationInfo with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nameServersUpdateState:RegisteredDomainDelegationInfo', registeredDomainDelegationInfo_nameServersUpdateState - An object that describes the state of the name server records that are automatically added to the Route 53 domain by Lightsail.

$sel:r53HostedZoneDeletionState:RegisteredDomainDelegationInfo', registeredDomainDelegationInfo_r53HostedZoneDeletionState - Undocumented member.

registeredDomainDelegationInfo_nameServersUpdateState :: Lens' RegisteredDomainDelegationInfo (Maybe NameServersUpdateState) Source #

An object that describes the state of the name server records that are automatically added to the Route 53 domain by Lightsail.