pub struct CreateDomainAssociationRequest {
pub app_id: String,
pub auto_sub_domain_creation_patterns: Option<Vec<String>>,
pub auto_sub_domain_iam_role: Option<String>,
pub domain_name: String,
pub enable_auto_sub_domain: Option<bool>,
pub sub_domain_settings: Vec<SubDomainSetting>,
}
Expand description
The request structure for the create domain association request.
Fields§
§app_id: String
The unique ID for an Amplify app.
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.
domain_name: 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: Vec<SubDomainSetting>
The setting for the subdomain.
Trait Implementations§
Source§impl Clone for CreateDomainAssociationRequest
impl Clone for CreateDomainAssociationRequest
Source§fn clone(&self) -> CreateDomainAssociationRequest
fn clone(&self) -> CreateDomainAssociationRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for CreateDomainAssociationRequest
impl Default for CreateDomainAssociationRequest
Source§fn default() -> CreateDomainAssociationRequest
fn default() -> CreateDomainAssociationRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateDomainAssociationRequest
impl PartialEq for CreateDomainAssociationRequest
Source§fn eq(&self, other: &CreateDomainAssociationRequest) -> bool
fn eq(&self, other: &CreateDomainAssociationRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateDomainAssociationRequest
Auto Trait Implementations§
impl Freeze for CreateDomainAssociationRequest
impl RefUnwindSafe for CreateDomainAssociationRequest
impl Send for CreateDomainAssociationRequest
impl Sync for CreateDomainAssociationRequest
impl Unpin for CreateDomainAssociationRequest
impl UnwindSafe for CreateDomainAssociationRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more