Struct aws_sdk_apprunner::model::CustomDomain
source · [−]#[non_exhaustive]pub struct CustomDomain {
pub domain_name: Option<String>,
pub enable_www_subdomain: Option<bool>,
pub certificate_validation_records: Option<Vec<CertificateValidationRecord>>,
pub status: Option<CustomDomainAssociationStatus>,
}
Expand description
Describes a custom domain that's associated with an App Runner service.
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: Option<String>
An associated custom domain endpoint. It can be a root domain (for example, example.com
), a subdomain (for example, login.example.com
or admin.login.example.com
), or a wildcard (for example, *.example.com
).
enable_www_subdomain: Option<bool>
When true
, the subdomain www.DomainName
is associated with the App Runner service in addition to the base domain.
certificate_validation_records: Option<Vec<CertificateValidationRecord>>
A list of certificate CNAME records that's used for this domain name.
status: Option<CustomDomainAssociationStatus>
The current state of the domain name association.
Implementations
sourceimpl CustomDomain
impl CustomDomain
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
An associated custom domain endpoint. It can be a root domain (for example, example.com
), a subdomain (for example, login.example.com
or admin.login.example.com
), or a wildcard (for example, *.example.com
).
sourcepub fn enable_www_subdomain(&self) -> Option<bool>
pub fn enable_www_subdomain(&self) -> Option<bool>
When true
, the subdomain www.DomainName
is associated with the App Runner service in addition to the base domain.
sourcepub fn certificate_validation_records(
&self
) -> Option<&[CertificateValidationRecord]>
pub fn certificate_validation_records(
&self
) -> Option<&[CertificateValidationRecord]>
A list of certificate CNAME records that's used for this domain name.
sourcepub fn status(&self) -> Option<&CustomDomainAssociationStatus>
pub fn status(&self) -> Option<&CustomDomainAssociationStatus>
The current state of the domain name association.
sourceimpl CustomDomain
impl CustomDomain
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CustomDomain
Trait Implementations
sourceimpl Clone for CustomDomain
impl Clone for CustomDomain
sourcefn clone(&self) -> CustomDomain
fn clone(&self) -> CustomDomain
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CustomDomain
impl Debug for CustomDomain
sourceimpl PartialEq<CustomDomain> for CustomDomain
impl PartialEq<CustomDomain> for CustomDomain
sourcefn eq(&self, other: &CustomDomain) -> bool
fn eq(&self, other: &CustomDomain) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CustomDomain) -> bool
fn ne(&self, other: &CustomDomain) -> bool
This method tests for !=
.
impl StructuralPartialEq for CustomDomain
Auto Trait Implementations
impl RefUnwindSafe for CustomDomain
impl Send for CustomDomain
impl Sync for CustomDomain
impl Unpin for CustomDomain
impl UnwindSafe for CustomDomain
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more