Struct aws_sdk_amplify::types::CertificateSettings
source · #[non_exhaustive]pub struct CertificateSettings {
pub type: CertificateType,
pub custom_certificate_arn: Option<String>,
}
Expand description
The type of SSL/TLS certificate to use for your custom domain. If a certificate type isn't specified, Amplify uses the default AMPLIFY_MANAGED
certificate.
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.type: CertificateType
The certificate type.
Specify AMPLIFY_MANAGED
to use the default certificate that Amplify provisions for you.
Specify CUSTOM
to use your own certificate that you have already added to Certificate Manager in your Amazon Web Services account. Make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1). For more information about using ACM, see Importing certificates into Certificate Manager in the ACM User guide.
custom_certificate_arn: Option<String>
The Amazon resource name (ARN) for the custom certificate that you have already added to Certificate Manager in your Amazon Web Services account.
This field is required only when the certificate type is CUSTOM
.
Implementations§
source§impl CertificateSettings
impl CertificateSettings
sourcepub fn type(&self) -> &CertificateType
pub fn type(&self) -> &CertificateType
The certificate type.
Specify AMPLIFY_MANAGED
to use the default certificate that Amplify provisions for you.
Specify CUSTOM
to use your own certificate that you have already added to Certificate Manager in your Amazon Web Services account. Make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1). For more information about using ACM, see Importing certificates into Certificate Manager in the ACM User guide.
sourcepub fn custom_certificate_arn(&self) -> Option<&str>
pub fn custom_certificate_arn(&self) -> Option<&str>
The Amazon resource name (ARN) for the custom certificate that you have already added to Certificate Manager in your Amazon Web Services account.
This field is required only when the certificate type is CUSTOM
.
source§impl CertificateSettings
impl CertificateSettings
sourcepub fn builder() -> CertificateSettingsBuilder
pub fn builder() -> CertificateSettingsBuilder
Creates a new builder-style object to manufacture CertificateSettings
.
Trait Implementations§
source§impl Clone for CertificateSettings
impl Clone for CertificateSettings
source§fn clone(&self) -> CertificateSettings
fn clone(&self) -> CertificateSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CertificateSettings
impl Debug for CertificateSettings
source§impl PartialEq for CertificateSettings
impl PartialEq for CertificateSettings
source§fn eq(&self, other: &CertificateSettings) -> bool
fn eq(&self, other: &CertificateSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CertificateSettings
Auto Trait Implementations§
impl Freeze for CertificateSettings
impl RefUnwindSafe for CertificateSettings
impl Send for CertificateSettings
impl Sync for CertificateSettings
impl Unpin for CertificateSettings
impl UnwindSafe for CertificateSettings
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> 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