Struct aws_sdk_cloudfront::model::DistributionSummary [−][src]
#[non_exhaustive]pub struct DistributionSummary {Show 20 fields
pub id: Option<String>,
pub arn: Option<String>,
pub status: Option<String>,
pub last_modified_time: Option<DateTime>,
pub domain_name: Option<String>,
pub aliases: Option<Aliases>,
pub origins: Option<Origins>,
pub origin_groups: Option<OriginGroups>,
pub default_cache_behavior: Option<DefaultCacheBehavior>,
pub cache_behaviors: Option<CacheBehaviors>,
pub custom_error_responses: Option<CustomErrorResponses>,
pub comment: Option<String>,
pub price_class: Option<PriceClass>,
pub enabled: Option<bool>,
pub viewer_certificate: Option<ViewerCertificate>,
pub restrictions: Option<Restrictions>,
pub web_acl_id: Option<String>,
pub http_version: Option<HttpVersion>,
pub is_ipv6_enabled: Option<bool>,
pub alias_icp_recordals: Option<Vec<AliasIcpRecordal>>,
}
Expand description
A summary of the information about a CloudFront distribution.
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.id: Option<String>
The identifier for the distribution. For example:
EDFDVBD632BHDS5
.
arn: Option<String>
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.
status: Option<String>
The current status of the distribution. When the status is Deployed
, the
distribution's information is propagated to all CloudFront edge locations.
last_modified_time: Option<DateTime>
The date and time the distribution was last modified.
domain_name: Option<String>
The domain name that corresponds to the distribution, for example, d111111abcdef8.cloudfront.net
.
aliases: Option<Aliases>
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
origins: Option<Origins>
A complex type that contains information about origins for this distribution.
origin_groups: Option<OriginGroups>
A complex type that contains information about origin groups for this distribution.
default_cache_behavior: 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.
cache_behaviors: Option<CacheBehaviors>
A complex type that contains zero or more CacheBehavior
elements.
custom_error_responses: Option<CustomErrorResponses>
A complex type that contains zero or more CustomErrorResponses
elements.
comment: Option<String>
The comment originally specified when this distribution was created.
price_class: Option<PriceClass>
A complex type that contains information about price class for this streaming distribution.
enabled: Option<bool>
Whether the distribution is enabled to accept user requests for content.
viewer_certificate: Option<ViewerCertificate>
A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.
restrictions: Option<Restrictions>
A complex type that identifies ways in which you want to restrict distribution of your content.
web_acl_id: Option<String>
The Web ACL Id (if any) associated with the distribution.
http_version: 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.
is_ipv6_enabled: Option<bool>
Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
alias_icp_recordals: Option<Vec<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.
Implementations
The identifier for the distribution. For example:
EDFDVBD632BHDS5
.
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.
The current status of the distribution. When the status is Deployed
, the
distribution's information is propagated to all CloudFront edge locations.
The date and time the distribution was last modified.
The domain name that corresponds to the distribution, for example, d111111abcdef8.cloudfront.net
.
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
A complex type that contains information about origins for this distribution.
A complex type that contains information about origin groups for this distribution.
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.
A complex type that contains zero or more CacheBehavior
elements.
A complex type that contains zero or more CustomErrorResponses
elements.
The comment originally specified when this distribution was created.
A complex type that contains information about price class for this streaming distribution.
Whether the distribution is enabled to accept user requests for content.
A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.
A complex type that identifies ways in which you want to restrict distribution of your content.
The Web ACL Id (if any) associated with the distribution.
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.
Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
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.
Creates a new builder-style object to manufacture DistributionSummary
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DistributionSummary
impl Send for DistributionSummary
impl Sync for DistributionSummary
impl Unpin for DistributionSummary
impl UnwindSafe for DistributionSummary
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more