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: StringAn 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: boolWhen 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: CustomDomainAssociationStatusThe 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
source§fn eq(&self, other: &CustomDomain) -> bool
fn eq(&self, other: &CustomDomain) -> bool
self and other values to be equal, and is used
by ==.