logo
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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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