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

Description

 
Synopsis

Documentation

data DnsRecordCreationState Source #

Describes the creation state of the canonical name (CNAME) records that are automatically added by Amazon Lightsail to the DNS of a domain to validate domain ownership for an SSL/TLS certificate.

When you create an SSL/TLS certificate for a Lightsail resource, you must add a set of CNAME records to the DNS of the domains for the certificate to validate that you own the domains. Lightsail can automatically add the CNAME records to the DNS of the domain if the DNS zone for the domain exists within your Lightsail account. If automatic record addition fails, or if you manage the DNS of your domain using a third-party service, then you must manually add the CNAME records to the DNS of your domain. For more information, see Verify an SSL/TLS certificate in Amazon Lightsail in the Amazon Lightsail Developer Guide.

See: newDnsRecordCreationState smart constructor.

Constructors

DnsRecordCreationState' 

Fields

  • code :: Maybe DnsRecordCreationStateCode

    The status code for the automated DNS record creation.

    Following are the possible values:

    • SUCCEEDED - The validation records were successfully added to the domain.
    • STARTED - The automatic DNS record creation has started.
    • FAILED - The validation records failed to be added to the domain.
  • message :: Maybe Text

    The message that describes the reason for the status code.

Instances

Instances details
FromJSON DnsRecordCreationState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DnsRecordCreationState

Generic DnsRecordCreationState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DnsRecordCreationState

Associated Types

type Rep DnsRecordCreationState :: Type -> Type #

Read DnsRecordCreationState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DnsRecordCreationState

Show DnsRecordCreationState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DnsRecordCreationState

NFData DnsRecordCreationState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DnsRecordCreationState

Methods

rnf :: DnsRecordCreationState -> () #

Eq DnsRecordCreationState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DnsRecordCreationState

Hashable DnsRecordCreationState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DnsRecordCreationState

type Rep DnsRecordCreationState Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DnsRecordCreationState

type Rep DnsRecordCreationState = D1 ('MetaData "DnsRecordCreationState" "Amazonka.Lightsail.Types.DnsRecordCreationState" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "DnsRecordCreationState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DnsRecordCreationStateCode)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newDnsRecordCreationState :: DnsRecordCreationState Source #

Create a value of DnsRecordCreationState 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:code:DnsRecordCreationState', dnsRecordCreationState_code - The status code for the automated DNS record creation.

Following are the possible values:

  • SUCCEEDED - The validation records were successfully added to the domain.
  • STARTED - The automatic DNS record creation has started.
  • FAILED - The validation records failed to be added to the domain.

$sel:message:DnsRecordCreationState', dnsRecordCreationState_message - The message that describes the reason for the status code.

dnsRecordCreationState_code :: Lens' DnsRecordCreationState (Maybe DnsRecordCreationStateCode) Source #

The status code for the automated DNS record creation.

Following are the possible values:

  • SUCCEEDED - The validation records were successfully added to the domain.
  • STARTED - The automatic DNS record creation has started.
  • FAILED - The validation records failed to be added to the domain.

dnsRecordCreationState_message :: Lens' DnsRecordCreationState (Maybe Text) Source #

The message that describes the reason for the status code.