#[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
sourceimpl 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.
sourceimpl AwsCloudFrontDistributionViewerCertificate
impl AwsCloudFrontDistributionViewerCertificate
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsCloudFrontDistributionViewerCertificate
.
Trait Implementations
sourceimpl Clone for AwsCloudFrontDistributionViewerCertificate
impl Clone for AwsCloudFrontDistributionViewerCertificate
sourcefn clone(&self) -> AwsCloudFrontDistributionViewerCertificate
fn clone(&self) -> AwsCloudFrontDistributionViewerCertificate
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<AwsCloudFrontDistributionViewerCertificate> for AwsCloudFrontDistributionViewerCertificate
impl PartialEq<AwsCloudFrontDistributionViewerCertificate> for AwsCloudFrontDistributionViewerCertificate
sourcefn eq(&self, other: &AwsCloudFrontDistributionViewerCertificate) -> bool
fn eq(&self, other: &AwsCloudFrontDistributionViewerCertificate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AwsCloudFrontDistributionViewerCertificate) -> bool
fn ne(&self, other: &AwsCloudFrontDistributionViewerCertificate) -> bool
This method tests for !=
.
impl StructuralPartialEq for AwsCloudFrontDistributionViewerCertificate
Auto Trait Implementations
impl RefUnwindSafe for AwsCloudFrontDistributionViewerCertificate
impl Send for AwsCloudFrontDistributionViewerCertificate
impl Sync for AwsCloudFrontDistributionViewerCertificate
impl Unpin for AwsCloudFrontDistributionViewerCertificate
impl UnwindSafe for AwsCloudFrontDistributionViewerCertificate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more