#[non_exhaustive]pub struct AwsCloudFrontDistributionViewerCertificate { /* private fields */ }
Expand description
Provides information about the TLS/SSL configuration that the CloudFront distribution uses to communicate with viewers.
Implementations§
source§impl AwsCloudFrontDistributionViewerCertificate
impl AwsCloudFrontDistributionViewerCertificate
sourcepub fn acm_certificate_arn(&self) -> Option<&str>
pub fn acm_certificate_arn(&self) -> Option<&str>
The ARN of the ACM certificate. Used if the certificate is stored in ACM. If you provide an ACM certificate ARN, you must also provide MinimumCertificateVersion
and SslSupportMethod
.
sourcepub fn certificate(&self) -> Option<&str>
pub fn certificate(&self) -> Option<&str>
The identifier of the certificate. Note that in CloudFront, this attribute is deprecated.
sourcepub fn certificate_source(&self) -> Option<&str>
pub fn certificate_source(&self) -> Option<&str>
The source of the certificate identified by Certificate
. Note that in CloudFront, this attribute is deprecated.
sourcepub fn cloud_front_default_certificate(&self) -> bool
pub fn cloud_front_default_certificate(&self) -> bool
Whether the distribution uses the CloudFront domain name. If set to false
, then you provide either AcmCertificateArn
or IamCertificateId
.
sourcepub fn iam_certificate_id(&self) -> Option<&str>
pub fn iam_certificate_id(&self) -> Option<&str>
The identifier of the IAM certificate. Used if the certificate is stored in IAM. If you provide IamCertificateId
, then you also must provide MinimumProtocolVersion
and SslSupportMethod
.
sourcepub fn minimum_protocol_version(&self) -> Option<&str>
pub fn minimum_protocol_version(&self) -> Option<&str>
The security policy that CloudFront uses for HTTPS connections with viewers. If SslSupportMethod
is sni-only
, then MinimumProtocolVersion
must be TLSv1
or higher.
sourcepub fn ssl_support_method(&self) -> Option<&str>
pub fn ssl_support_method(&self) -> Option<&str>
The viewers that the distribution accepts HTTPS connections from.
source§impl AwsCloudFrontDistributionViewerCertificate
impl AwsCloudFrontDistributionViewerCertificate
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsCloudFrontDistributionViewerCertificate
.
Trait Implementations§
source§impl Clone for AwsCloudFrontDistributionViewerCertificate
impl Clone for AwsCloudFrontDistributionViewerCertificate
source§fn clone(&self) -> AwsCloudFrontDistributionViewerCertificate
fn clone(&self) -> AwsCloudFrontDistributionViewerCertificate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<AwsCloudFrontDistributionViewerCertificate> for AwsCloudFrontDistributionViewerCertificate
impl PartialEq<AwsCloudFrontDistributionViewerCertificate> for AwsCloudFrontDistributionViewerCertificate
source§fn eq(&self, other: &AwsCloudFrontDistributionViewerCertificate) -> bool
fn eq(&self, other: &AwsCloudFrontDistributionViewerCertificate) -> bool
self
and other
values to be equal, and is used
by ==
.