Struct aws_sdk_amplify::types::DomainAssociation
source · #[non_exhaustive]pub struct DomainAssociation {
pub domain_association_arn: Option<String>,
pub domain_name: Option<String>,
pub enable_auto_sub_domain: Option<bool>,
pub auto_sub_domain_creation_patterns: Option<Vec<String>>,
pub auto_sub_domain_iam_role: Option<String>,
pub domain_status: Option<DomainStatus>,
pub status_reason: Option<String>,
pub certificate_verification_dns_record: Option<String>,
pub sub_domains: Option<Vec<SubDomain>>,
}Expand description
Describes a domain association that associates a custom domain with an Amplify app.
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_association_arn: Option<String>The Amazon Resource Name (ARN) for the domain association.
domain_name: Option<String>The name of the domain.
enable_auto_sub_domain: Option<bool>Enables the automated creation of subdomains for branches.
auto_sub_domain_creation_patterns: Option<Vec<String>>Sets branch patterns for automatic subdomain creation.
auto_sub_domain_iam_role: Option<String>The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
domain_status: Option<DomainStatus>The current status of the domain association.
status_reason: Option<String>The reason for the current status of the domain association.
certificate_verification_dns_record: Option<String>The DNS record for certificate verification.
sub_domains: Option<Vec<SubDomain>>The subdomains for the domain association.
Implementations§
source§impl DomainAssociation
impl DomainAssociation
sourcepub fn domain_association_arn(&self) -> Option<&str>
pub fn domain_association_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the domain association.
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The name of the domain.
sourcepub fn enable_auto_sub_domain(&self) -> Option<bool>
pub fn enable_auto_sub_domain(&self) -> Option<bool>
Enables the automated creation of subdomains for branches.
sourcepub fn auto_sub_domain_creation_patterns(&self) -> Option<&[String]>
pub fn auto_sub_domain_creation_patterns(&self) -> Option<&[String]>
Sets branch patterns for automatic subdomain creation.
sourcepub fn auto_sub_domain_iam_role(&self) -> Option<&str>
pub fn auto_sub_domain_iam_role(&self) -> Option<&str>
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
sourcepub fn domain_status(&self) -> Option<&DomainStatus>
pub fn domain_status(&self) -> Option<&DomainStatus>
The current status of the domain association.
sourcepub fn status_reason(&self) -> Option<&str>
pub fn status_reason(&self) -> Option<&str>
The reason for the current status of the domain association.
sourcepub fn certificate_verification_dns_record(&self) -> Option<&str>
pub fn certificate_verification_dns_record(&self) -> Option<&str>
The DNS record for certificate verification.
sourcepub fn sub_domains(&self) -> Option<&[SubDomain]>
pub fn sub_domains(&self) -> Option<&[SubDomain]>
The subdomains for the domain association.
source§impl DomainAssociation
impl DomainAssociation
sourcepub fn builder() -> DomainAssociationBuilder
pub fn builder() -> DomainAssociationBuilder
Creates a new builder-style object to manufacture DomainAssociation.
Trait Implementations§
source§impl Clone for DomainAssociation
impl Clone for DomainAssociation
source§fn clone(&self) -> DomainAssociation
fn clone(&self) -> DomainAssociation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DomainAssociation
impl Debug for DomainAssociation
source§impl PartialEq<DomainAssociation> for DomainAssociation
impl PartialEq<DomainAssociation> for DomainAssociation
source§fn eq(&self, other: &DomainAssociation) -> bool
fn eq(&self, other: &DomainAssociation) -> bool
self and other values to be equal, and is used
by ==.