Struct aws_sdk_amplify::types::Certificate
source · #[non_exhaustive]pub struct Certificate {
pub type: CertificateType,
pub custom_certificate_arn: Option<String>,
pub certificate_verification_dns_record: Option<String>,
}Expand description
Describes the current SSL/TLS certificate that is in use for the domain. If you are using CreateDomainAssociation to create a new domain association, Certificate describes the new certificate that you are creating.
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: CertificateTypeThe type of SSL/TLS certificate that you want to use.
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 a 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.
certificate_verification_dns_record: Option<String>The DNS record for certificate verification.
Implementations§
source§impl Certificate
impl Certificate
sourcepub fn type(&self) -> &CertificateType
pub fn type(&self) -> &CertificateType
The type of SSL/TLS certificate that you want to use.
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 a 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.
sourcepub fn certificate_verification_dns_record(&self) -> Option<&str>
pub fn certificate_verification_dns_record(&self) -> Option<&str>
The DNS record for certificate verification.
source§impl Certificate
impl Certificate
sourcepub fn builder() -> CertificateBuilder
pub fn builder() -> CertificateBuilder
Creates a new builder-style object to manufacture Certificate.
Trait Implementations§
source§impl Clone for Certificate
impl Clone for Certificate
source§fn clone(&self) -> Certificate
fn clone(&self) -> Certificate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for Certificate
impl Debug for Certificate
source§impl PartialEq for Certificate
impl PartialEq for Certificate
source§fn eq(&self, other: &Certificate) -> bool
fn eq(&self, other: &Certificate) -> bool
self and other values to be equal, and is used
by ==.