Skip to content

CloudFront  >  Structures  >  Distribution

Distribution

Structure Class

Distribution dataclass

Bases: _SerdeShape

A distribution tells CloudFront where you want content to be delivered from, and the details about how to track and manage content delivery.

Attributes

active_trusted_key_groups class-attribute instance-attribute
active_trusted_key_groups: ActiveTrustedKeyGroups | None = ...

This field contains a list of key groups and the public keys in each key group that CloudFront can use to verify the signatures of signed URLs or signed cookies.

active_trusted_signers class-attribute instance-attribute
active_trusted_signers: ActiveTrustedSigners | None = ...
Warning

We recommend using TrustedKeyGroups instead of TrustedSigners.

This field contains a list of Amazon Web Services account IDs and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs or signed cookies.

alias_icp_recordals class-attribute instance-attribute
alias_icp_recordals: list[AliasICPRecordal] | None = ...

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.

arn instance-attribute
arn: str

The distribution's Amazon Resource Name (ARN).

distribution_config instance-attribute
distribution_config: DistributionConfig

The distribution's configuration.

domain_name instance-attribute
domain_name: str

The distribution's CloudFront domain name. For example: d111111abcdef8.cloudfront.net.

id instance-attribute
id: str

The distribution's identifier. For example: E1U5RQF7T870K0.

in_progress_invalidation_batches instance-attribute
in_progress_invalidation_batches: int

The number of invalidation batches currently in progress.

last_modified_time instance-attribute
last_modified_time: datetime

The date and time when the distribution was last modified.

status instance-attribute
status: str

The distribution's status. When the status is Deployed, the distribution's information is fully propagated to all CloudFront edge locations.