Struct aws_sdk_apprunner::types::CustomDomain
source · #[non_exhaustive]pub struct CustomDomain {
pub domain_name: String,
pub enable_www_subdomain: bool,
pub certificate_validation_records: Option<Vec<CertificateValidationRecord>>,
pub status: 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: 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: 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: CustomDomainAssociationStatus
The current state of the domain name association.
Implementations§
source§impl CustomDomain
impl CustomDomain
sourcepub fn domain_name(&self) -> &str
pub fn domain_name(&self) -> &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) -> bool
pub fn enable_www_subdomain(&self) -> 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) -> &[CertificateValidationRecord]
pub fn certificate_validation_records(&self) -> &[CertificateValidationRecord]
A list of certificate CNAME records that's used for this domain name.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .certificate_validation_records.is_none()
.
sourcepub fn status(&self) -> &CustomDomainAssociationStatus
pub fn status(&self) -> &CustomDomainAssociationStatus
The current state of the domain name association.
source§impl CustomDomain
impl CustomDomain
sourcepub fn builder() -> CustomDomainBuilder
pub fn builder() -> CustomDomainBuilder
Creates a new builder-style object to manufacture CustomDomain
.
Trait Implementations§
source§impl Clone for CustomDomain
impl Clone for CustomDomain
source§fn clone(&self) -> CustomDomain
fn clone(&self) -> CustomDomain
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CustomDomain
impl Debug for CustomDomain
source§impl PartialEq for CustomDomain
impl PartialEq for CustomDomain
impl StructuralPartialEq for CustomDomain
Auto Trait Implementations§
impl Freeze for CustomDomain
impl RefUnwindSafe for CustomDomain
impl Send for CustomDomain
impl Sync for CustomDomain
impl Unpin for CustomDomain
impl UnwindSafe for CustomDomain
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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