#[non_exhaustive]pub struct CreateDomainAssociationInput {
pub app_id: Option<String>,
pub domain_name: Option<String>,
pub enable_auto_sub_domain: Option<bool>,
pub sub_domain_settings: Option<Vec<SubDomainSetting>>,
pub auto_sub_domain_creation_patterns: Option<Vec<String>>,
pub auto_sub_domain_iam_role: Option<String>,
}Expand description
The request structure for the create domain association request.
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.app_id: Option<String>The unique ID for an Amplify app.
domain_name: Option<String>The domain name for the domain association.
enable_auto_sub_domain: Option<bool>Enables the automated creation of subdomains for branches.
sub_domain_settings: Option<Vec<SubDomainSetting>>The setting for the subdomain.
auto_sub_domain_creation_patterns: Option<Vec<String>>Sets the 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.
Implementations§
source§impl CreateDomainAssociationInput
impl CreateDomainAssociationInput
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The domain name for the domain association.
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 sub_domain_settings(&self) -> &[SubDomainSetting]
pub fn sub_domain_settings(&self) -> &[SubDomainSetting]
The setting for the subdomain.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .sub_domain_settings.is_none().
sourcepub fn auto_sub_domain_creation_patterns(&self) -> &[String]
pub fn auto_sub_domain_creation_patterns(&self) -> &[String]
Sets the 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.
source§impl CreateDomainAssociationInput
impl CreateDomainAssociationInput
sourcepub fn builder() -> CreateDomainAssociationInputBuilder
pub fn builder() -> CreateDomainAssociationInputBuilder
Creates a new builder-style object to manufacture CreateDomainAssociationInput.
Trait Implementations§
source§impl Clone for CreateDomainAssociationInput
impl Clone for CreateDomainAssociationInput
source§fn clone(&self) -> CreateDomainAssociationInput
fn clone(&self) -> CreateDomainAssociationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateDomainAssociationInput
impl Debug for CreateDomainAssociationInput
source§impl PartialEq for CreateDomainAssociationInput
impl PartialEq for CreateDomainAssociationInput
source§fn eq(&self, other: &CreateDomainAssociationInput) -> bool
fn eq(&self, other: &CreateDomainAssociationInput) -> bool
self and other values to be equal, and is used
by ==.