#[non_exhaustive]pub struct AwsCloudFrontDistributionViewerCertificate {
pub acm_certificate_arn: Option<String>,
pub certificate: Option<String>,
pub certificate_source: Option<String>,
pub cloud_front_default_certificate: bool,
pub iam_certificate_id: Option<String>,
pub minimum_protocol_version: Option<String>,
pub ssl_support_method: Option<String>,
}Expand description
Provides information about the TLS/SSL configuration that the distribution uses to communicate with viewers.
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.acm_certificate_arn: Option<String>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.
certificate: Option<String>The identifier of the certificate. Note that in CloudFront, this attribute is deprecated.
certificate_source: Option<String>The source of the certificate identified by Certificate. Note that in CloudFront, this attribute is deprecated.
cloud_front_default_certificate: boolWhether the distribution uses the CloudFront domain name. If set to false, then you provide either AcmCertificateArn or IamCertificateId.
iam_certificate_id: Option<String>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.
minimum_protocol_version: Option<String>The security policy that CloudFront uses for HTTPS connections with viewers. If SslSupportMethod is sni-only, then MinimumProtocolVersion must be TLSv1 or higher.
ssl_support_method: Option<String>The viewers that the distribution accepts HTTPS connections from.
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
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