logo
pub struct DomainAssociation {
    pub auto_sub_domain_creation_patterns: Option<Vec<String>>,
    pub auto_sub_domain_iam_role: Option<String>,
    pub certificate_verification_dns_record: Option<String>,
    pub domain_association_arn: String,
    pub domain_name: String,
    pub domain_status: String,
    pub enable_auto_sub_domain: bool,
    pub status_reason: String,
    pub sub_domains: Vec<SubDomain>,
}
Expand description

Describes a domain association that associates a custom domain with an Amplify app.

Fields

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.

certificate_verification_dns_record: Option<String>

The DNS record for certificate verification.

domain_association_arn: String

The Amazon Resource Name (ARN) for the domain association.

domain_name: String

The name of the domain.

domain_status: String

The current status of the domain association.

enable_auto_sub_domain: bool

Enables the automated creation of subdomains for branches.

status_reason: String

The reason for the current status of the domain association.

sub_domains: Vec<SubDomain>

The subdomains for the domain association.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more