#[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>,
pub certificate_settings: Option<CertificateSettings>,
}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.
certificate_settings: Option<CertificateSettings>The type of SSL/TLS certificate to use for your custom domain. If you don't specify a certificate type, Amplify uses the default certificate that it provisions and manages for you.
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.
sourcepub fn certificate_settings(&self) -> Option<&CertificateSettings>
pub fn certificate_settings(&self) -> Option<&CertificateSettings>
The type of SSL/TLS certificate to use for your custom domain. If you don't specify a certificate type, Amplify uses the default certificate that it provisions and manages for you.
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 ==.impl StructuralPartialEq for CreateDomainAssociationInput
Auto Trait Implementations§
impl Freeze for CreateDomainAssociationInput
impl RefUnwindSafe for CreateDomainAssociationInput
impl Send for CreateDomainAssociationInput
impl Sync for CreateDomainAssociationInput
impl Unpin for CreateDomainAssociationInput
impl UnwindSafe for CreateDomainAssociationInput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more