LightsailDistribution class

Describes an Amazon Lightsail content delivery network (CDN) distribution.

Constructors

LightsailDistribution({bool? ableToUpdateBundle, List<String>? alternativeDomainNames, String? arn, String? bundleId, CacheSettings? cacheBehaviorSettings, List<CacheBehaviorPerPath>? cacheBehaviors, String? certificateName, DateTime? createdAt, CacheBehavior? defaultCacheBehavior, String? domainName, bool? isEnabled, ResourceLocation? location, String? name, Origin? origin, String? originPublicDNS, ResourceType? resourceType, String? status, String? supportCode, List<Tag>? tags})
LightsailDistribution.fromJson(Map<String, dynamic> json)
factory

Properties

ableToUpdateBundle bool?
Indicates whether the bundle that is currently applied to your distribution, specified using the distributionName parameter, can be changed to another bundle.
final
alternativeDomainNames List<String>?
The alternate domain names of the distribution.
final
arn String?
The Amazon Resource Name (ARN) of the distribution.
final
bundleId String?
The ID of the bundle currently applied to the distribution.
final
cacheBehaviors List<CacheBehaviorPerPath>?
An array of objects that describe the per-path cache behavior of the distribution.
final
cacheBehaviorSettings CacheSettings?
An object that describes the cache behavior settings of the distribution.
final
certificateName String?
The name of the SSL/TLS certificate attached to the distribution, if any.
final
createdAt DateTime?
The timestamp when the distribution was created.
final
defaultCacheBehavior CacheBehavior?
An object that describes the default cache behavior of the distribution.
final
domainName String?
The domain name of the distribution.
final
hashCode int
The hash code for this object.
no setterinherited
isEnabled bool?
Indicates whether the distribution is enabled.
final
location ResourceLocation?
An object that describes the location of the distribution, such as the AWS Region and Availability Zone.
final
name String?
The name of the distribution.
final
origin Origin?
An object that describes the origin resource of the distribution, such as a Lightsail instance or load balancer.
final
originPublicDNS String?
The public DNS of the origin.
final
resourceType ResourceType?
The Lightsail resource type (e.g., Distribution).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
The status of the distribution.
final
supportCode String?
The support code. Include this code in your email to support when you have questions about your Lightsail distribution. This code enables our support team to look up your Lightsail information more easily.
final
tags List<Tag>?
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.
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