Distribution class

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

Constructors

Distribution({required String arn, required DistributionConfig distributionConfig, required String domainName, required String id, required int inProgressInvalidationBatches, required DateTime lastModifiedTime, required String status, ActiveTrustedKeyGroups? activeTrustedKeyGroups, ActiveTrustedSigners? activeTrustedSigners, List<AliasICPRecordal>? aliasICPRecordals})
Distribution.fromXml(XmlElement elem)
factory

Properties

activeTrustedKeyGroups ActiveTrustedKeyGroups?
CloudFront automatically adds this field to the response if you’ve configured a cache behavior in this distribution to serve private content using key groups. 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.
final
activeTrustedSigners ActiveTrustedSigners?
final
aliasICPRecordals List<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.
final
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.
final
distributionConfig DistributionConfig
The current configuration information for the distribution. Send a GET request to the /CloudFront API version/distribution ID/config resource.
final
domainName String
The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net.
final
hashCode int
The hash code for this object.
no setterinherited
id String
The identifier for the distribution. For example: EDFDVBD632BHDS5.
final
inProgressInvalidationBatches int
The number of invalidation batches currently in progress.
final
lastModifiedTime DateTime
The date and time the distribution was last modified.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String
This response element indicates the current status of the distribution. When the status is Deployed, the distribution's information is fully propagated to all CloudFront edge locations.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited