Struct rusoto_cloudfront::DistributionSummary
source · [−]pub struct DistributionSummary {Show 20 fields
pub arn: String,
pub alias_icp_recordals: Option<Vec<AliasICPRecordal>>,
pub aliases: Aliases,
pub cache_behaviors: CacheBehaviors,
pub comment: String,
pub custom_error_responses: CustomErrorResponses,
pub default_cache_behavior: DefaultCacheBehavior,
pub domain_name: String,
pub enabled: bool,
pub http_version: String,
pub id: String,
pub is_ipv6_enabled: bool,
pub last_modified_time: String,
pub origin_groups: Option<OriginGroups>,
pub origins: Origins,
pub price_class: String,
pub restrictions: Restrictions,
pub status: String,
pub viewer_certificate: ViewerCertificate,
pub web_acl_id: String,
}
Expand description
A summary of the information about a CloudFront distribution.
Fields
arn: String
The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where 123456789012
is your AWS account ID.
alias_icp_recordals: Option<Vec<AliasICPRecordal>>
AWS 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 AWS services in China.
aliases: Aliases
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
cache_behaviors: CacheBehaviors
A complex type that contains zero or more CacheBehavior
elements.
comment: String
The comment originally specified when this distribution was created.
custom_error_responses: CustomErrorResponses
A complex type that contains zero or more CustomErrorResponses
elements.
default_cache_behavior: 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.
domain_name: String
The domain name that corresponds to the distribution, for example, d111111abcdef8.cloudfront.net
.
enabled: bool
Whether the distribution is enabled to accept user requests for content.
http_version: String
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.
id: String
The identifier for the distribution. For example: EDFDVBD632BHDS5
.
is_ipv6_enabled: bool
Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
last_modified_time: String
The date and time the distribution was last modified.
origin_groups: Option<OriginGroups>
A complex type that contains information about origin groups for this distribution.
origins: Origins
A complex type that contains information about origins for this distribution.
price_class: String
A complex type that contains information about price class for this streaming distribution.
restrictions: Restrictions
A complex type that identifies ways in which you want to restrict distribution of your content.
status: String
The current status of the distribution. When the status is Deployed
, the distribution's information is propagated to all CloudFront edge locations.
viewer_certificate: ViewerCertificate
A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.
web_acl_id: String
The Web ACL Id (if any) associated with the distribution.
Trait Implementations
sourceimpl Clone for DistributionSummary
impl Clone for DistributionSummary
sourcefn clone(&self) -> DistributionSummary
fn clone(&self) -> DistributionSummary
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 Debug for DistributionSummary
impl Debug for DistributionSummary
sourceimpl Default for DistributionSummary
impl Default for DistributionSummary
sourcefn default() -> DistributionSummary
fn default() -> DistributionSummary
Returns the “default value” for a type. Read more
sourceimpl PartialEq<DistributionSummary> for DistributionSummary
impl PartialEq<DistributionSummary> for DistributionSummary
sourcefn eq(&self, other: &DistributionSummary) -> bool
fn eq(&self, other: &DistributionSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DistributionSummary) -> bool
fn ne(&self, other: &DistributionSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for DistributionSummary
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
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> 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.
sourcefn clone_into(&self, target: &mut T)
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