Struct aws_sdk_lightsail::types::DnsRecordCreationState
source · #[non_exhaustive]pub struct DnsRecordCreationState {
pub code: Option<DnsRecordCreationStateCode>,
pub message: Option<String>,
}
Expand description
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.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.code: Option<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: Option<String>
The message that describes the reason for the status code.
Implementations§
source§impl DnsRecordCreationState
impl DnsRecordCreationState
sourcepub fn code(&self) -> Option<&DnsRecordCreationStateCode>
pub fn code(&self) -> Option<&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.
source§impl DnsRecordCreationState
impl DnsRecordCreationState
sourcepub fn builder() -> DnsRecordCreationStateBuilder
pub fn builder() -> DnsRecordCreationStateBuilder
Creates a new builder-style object to manufacture DnsRecordCreationState
.
Trait Implementations§
source§impl Clone for DnsRecordCreationState
impl Clone for DnsRecordCreationState
source§fn clone(&self) -> DnsRecordCreationState
fn clone(&self) -> DnsRecordCreationState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DnsRecordCreationState
impl Debug for DnsRecordCreationState
source§impl PartialEq for DnsRecordCreationState
impl PartialEq for DnsRecordCreationState
source§fn eq(&self, other: &DnsRecordCreationState) -> bool
fn eq(&self, other: &DnsRecordCreationState) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DnsRecordCreationState
Auto Trait Implementations§
impl Freeze for DnsRecordCreationState
impl RefUnwindSafe for DnsRecordCreationState
impl Send for DnsRecordCreationState
impl Sync for DnsRecordCreationState
impl Unpin for DnsRecordCreationState
impl UnwindSafe for DnsRecordCreationState
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more