#[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: Option<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 CloudFront 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: Option<bool>Whether 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§
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) -> Option<bool>
pub fn cloud_front_default_certificate(&self) -> Option<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() -> AwsCloudFrontDistributionViewerCertificateBuilder
pub fn builder() -> AwsCloudFrontDistributionViewerCertificateBuilder
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 for AwsCloudFrontDistributionViewerCertificate
impl PartialEq 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 ==.