Struct aws_sdk_acm::types::DomainValidation
source · #[non_exhaustive]pub struct DomainValidation {
pub domain_name: String,
pub validation_emails: Option<Vec<String>>,
pub validation_domain: Option<String>,
pub validation_status: Option<DomainStatus>,
pub resource_record: Option<ResourceRecord>,
pub validation_method: Option<ValidationMethod>,
}
Expand description
Contains information about the validation of each domain name in the certificate.
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.domain_name: String
A fully qualified domain name (FQDN) in the certificate. For example, www.example.com
or example.com
.
validation_emails: Option<Vec<String>>
A list of email addresses that ACM used to send domain validation emails.
validation_domain: Option<String>
The domain name that ACM used to send domain validation emails.
validation_status: Option<DomainStatus>
The validation status of the domain name. This can be one of the following values:
-
PENDING_VALIDATION
-
SUCCESS
-
FAILED
resource_record: Option<ResourceRecord>
Contains the CNAME record that you add to your DNS database for domain validation. For more information, see Use DNS to Validate Domain Ownership.
Note: The CNAME information that you need does not include the name of your domain. If you include your domain name in the DNS database CNAME record, validation fails. For example, if the name is "_a79865eb4cd1a6ab990a45779b4e0b96.yourdomain.com", only "_a79865eb4cd1a6ab990a45779b4e0b96" must be used.
validation_method: Option<ValidationMethod>
Specifies the domain validation method.
Implementations§
source§impl DomainValidation
impl DomainValidation
sourcepub fn domain_name(&self) -> &str
pub fn domain_name(&self) -> &str
A fully qualified domain name (FQDN) in the certificate. For example, www.example.com
or example.com
.
sourcepub fn validation_emails(&self) -> &[String]
pub fn validation_emails(&self) -> &[String]
A list of email addresses that ACM used to send domain validation emails.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .validation_emails.is_none()
.
sourcepub fn validation_domain(&self) -> Option<&str>
pub fn validation_domain(&self) -> Option<&str>
The domain name that ACM used to send domain validation emails.
sourcepub fn validation_status(&self) -> Option<&DomainStatus>
pub fn validation_status(&self) -> Option<&DomainStatus>
The validation status of the domain name. This can be one of the following values:
-
PENDING_VALIDATION
-
SUCCESS
-
FAILED
sourcepub fn resource_record(&self) -> Option<&ResourceRecord>
pub fn resource_record(&self) -> Option<&ResourceRecord>
Contains the CNAME record that you add to your DNS database for domain validation. For more information, see Use DNS to Validate Domain Ownership.
Note: The CNAME information that you need does not include the name of your domain. If you include your domain name in the DNS database CNAME record, validation fails. For example, if the name is "_a79865eb4cd1a6ab990a45779b4e0b96.yourdomain.com", only "_a79865eb4cd1a6ab990a45779b4e0b96" must be used.
sourcepub fn validation_method(&self) -> Option<&ValidationMethod>
pub fn validation_method(&self) -> Option<&ValidationMethod>
Specifies the domain validation method.
source§impl DomainValidation
impl DomainValidation
sourcepub fn builder() -> DomainValidationBuilder
pub fn builder() -> DomainValidationBuilder
Creates a new builder-style object to manufacture DomainValidation
.
Trait Implementations§
source§impl Clone for DomainValidation
impl Clone for DomainValidation
source§fn clone(&self) -> DomainValidation
fn clone(&self) -> DomainValidation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DomainValidation
impl Debug for DomainValidation
source§impl PartialEq for DomainValidation
impl PartialEq for DomainValidation
impl StructuralPartialEq for DomainValidation
Auto Trait Implementations§
impl Freeze for DomainValidation
impl RefUnwindSafe for DomainValidation
impl Send for DomainValidation
impl Sync for DomainValidation
impl Unpin for DomainValidation
impl UnwindSafe for DomainValidation
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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