Struct aws_sdk_amplify::types::DomainAssociation
source · #[non_exhaustive]pub struct DomainAssociation {
pub domain_association_arn: String,
pub domain_name: String,
pub enable_auto_sub_domain: bool,
pub auto_sub_domain_creation_patterns: Option<Vec<String>>,
pub auto_sub_domain_iam_role: Option<String>,
pub domain_status: DomainStatus,
pub status_reason: String,
pub certificate_verification_dns_record: Option<String>,
pub sub_domains: 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: StringThe Amazon Resource Name (ARN) for the domain association.
domain_name: StringThe name of the domain.
enable_auto_sub_domain: boolEnables 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: DomainStatusThe current status of the domain association.
status_reason: StringThe reason for the current status of the domain association.
certificate_verification_dns_record: Option<String>The DNS record for certificate verification.
sub_domains: Vec<SubDomain>The subdomains for the domain association.
Implementations§
source§impl DomainAssociation
impl DomainAssociation
sourcepub fn domain_association_arn(&self) -> &str
pub fn domain_association_arn(&self) -> &str
The Amazon Resource Name (ARN) for the domain association.
sourcepub fn domain_name(&self) -> &str
pub fn domain_name(&self) -> &str
The name of the domain.
sourcepub fn enable_auto_sub_domain(&self) -> bool
pub fn enable_auto_sub_domain(&self) -> bool
Enables the automated creation of subdomains for branches.
sourcepub fn auto_sub_domain_creation_patterns(&self) -> &[String]
pub fn auto_sub_domain_creation_patterns(&self) -> &[String]
Sets branch patterns for automatic subdomain creation.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .auto_sub_domain_creation_patterns.is_none().
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) -> &DomainStatus
pub fn domain_status(&self) -> &DomainStatus
The current status of the domain association.
sourcepub fn status_reason(&self) -> &str
pub fn status_reason(&self) -> &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) -> &[SubDomain]
pub fn sub_domains(&self) -> &[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 for DomainAssociation
impl PartialEq 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 ==.