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.
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.
in_progress_invalidation_batches
instance-attribute
¶
in_progress_invalidation_batches: int
The number of invalidation batches currently in progress.