Distribution class
The distribution's information.
Constructors
- Distribution({required String arn, required ActiveTrustedSigners activeTrustedSigners, required DistributionConfig distributionConfig, required String domainName, required String id, required int inProgressInvalidationBatches, required DateTime lastModifiedTime, required String status})
- Distribution.fromXml(XmlElement elem)
-
factory
Properties
- activeTrustedSigners → ActiveTrustedSigners
-
CloudFront automatically adds this element to the response only if you've
set up the distribution to serve private content with signed URLs. The
element lists the key pair IDs that CloudFront is aware of for each trusted
signer. The
Signer
child element lists the AWS account number of the trusted signer (or an emptySelf
element if the signer is you). TheSigner
element also includes the IDs of any active key pairs associated with the trusted signer's AWS account. If noKeyPairId
element appears for aSigner
, that signer can't create working signed URLs.final - arn → String
-
The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where123456789012
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:
d604721fxaaqy9.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