Struct aws_sdk_cloudfront::model::DistributionSummary
source · #[non_exhaustive]pub struct DistributionSummary { /* private fields */ }
Expand description
A summary of the information about a CloudFront distribution.
Implementations§
source§impl DistributionSummary
impl DistributionSummary
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The identifier for the distribution. For example: EDFDVBD632BHDS5
.
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where 123456789012
is your Amazon Web Services account ID.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The current status of the distribution. When the status is Deployed
, the distribution's information is propagated to all CloudFront edge locations.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The date and time the distribution was last modified.
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The domain name that corresponds to the distribution, for example, d111111abcdef8.cloudfront.net
.
sourcepub fn aliases(&self) -> Option<&Aliases>
pub fn aliases(&self) -> Option<&Aliases>
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
sourcepub fn origins(&self) -> Option<&Origins>
pub fn origins(&self) -> Option<&Origins>
A complex type that contains information about origins for this distribution.
sourcepub fn origin_groups(&self) -> Option<&OriginGroups>
pub fn origin_groups(&self) -> Option<&OriginGroups>
A complex type that contains information about origin groups for this distribution.
sourcepub fn default_cache_behavior(&self) -> Option<&DefaultCacheBehavior>
pub fn default_cache_behavior(&self) -> Option<&DefaultCacheBehavior>
A complex type that describes the default cache behavior if you don't specify a CacheBehavior
element or if files don't match any of the values of PathPattern
in CacheBehavior
elements. You must create exactly one default cache behavior.
sourcepub fn cache_behaviors(&self) -> Option<&CacheBehaviors>
pub fn cache_behaviors(&self) -> Option<&CacheBehaviors>
A complex type that contains zero or more CacheBehavior
elements.
sourcepub fn custom_error_responses(&self) -> Option<&CustomErrorResponses>
pub fn custom_error_responses(&self) -> Option<&CustomErrorResponses>
A complex type that contains zero or more CustomErrorResponses
elements.
sourcepub fn comment(&self) -> Option<&str>
pub fn comment(&self) -> Option<&str>
The comment originally specified when this distribution was created.
sourcepub fn price_class(&self) -> Option<&PriceClass>
pub fn price_class(&self) -> Option<&PriceClass>
A complex type that contains information about price class for this streaming distribution.
sourcepub fn enabled(&self) -> Option<bool>
pub fn enabled(&self) -> Option<bool>
Whether the distribution is enabled to accept user requests for content.
sourcepub fn viewer_certificate(&self) -> Option<&ViewerCertificate>
pub fn viewer_certificate(&self) -> Option<&ViewerCertificate>
A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.
sourcepub fn restrictions(&self) -> Option<&Restrictions>
pub fn restrictions(&self) -> Option<&Restrictions>
A complex type that identifies ways in which you want to restrict distribution of your content.
sourcepub fn web_acl_id(&self) -> Option<&str>
pub fn web_acl_id(&self) -> Option<&str>
The Web ACL Id (if any) associated with the distribution.
sourcepub fn http_version(&self) -> Option<&HttpVersion>
pub fn http_version(&self) -> Option<&HttpVersion>
Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2
. Viewers that don't support HTTP/2
will automatically use an earlier version.
sourcepub fn is_ipv6_enabled(&self) -> Option<bool>
pub fn is_ipv6_enabled(&self) -> Option<bool>
Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
sourcepub fn alias_icp_recordals(&self) -> Option<&[AliasIcpRecordal]>
pub fn alias_icp_recordals(&self) -> Option<&[AliasIcpRecordal]>
Amazon Web Services services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions.
For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.
source§impl DistributionSummary
impl DistributionSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DistributionSummary
.
Trait Implementations§
source§impl Clone for DistributionSummary
impl Clone for DistributionSummary
source§fn clone(&self) -> DistributionSummary
fn clone(&self) -> DistributionSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DistributionSummary
impl Debug for DistributionSummary
source§impl PartialEq<DistributionSummary> for DistributionSummary
impl PartialEq<DistributionSummary> for DistributionSummary
source§fn eq(&self, other: &DistributionSummary) -> bool
fn eq(&self, other: &DistributionSummary) -> bool
self
and other
values to be equal, and is used
by ==
.