LightsailDistribution
public struct LightsailDistribution : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
Indicates whether the bundle that is currently applied to your distribution, specified using the distributionName parameter, can be changed to another bundle. Use the UpdateDistributionBundle action to change your distribution’s bundle.
Declaration
Swift
public let ableToUpdateBundle: Bool?
-
The alternate domain names of the distribution.
Declaration
Swift
public let alternativeDomainNames: [String]?
-
The Amazon Resource Name (ARN) of the distribution.
Declaration
Swift
public let arn: String?
-
The ID of the bundle currently applied to the distribution.
Declaration
Swift
public let bundleId: String?
-
An array of objects that describe the per-path cache behavior of the distribution.
Declaration
Swift
public let cacheBehaviors: [CacheBehaviorPerPath]?
-
An object that describes the cache behavior settings of the distribution.
Declaration
Swift
public let cacheBehaviorSettings: CacheSettings?
-
The name of the SSL/TLS certificate attached to the distribution, if any.
Declaration
Swift
public let certificateName: String?
-
The timestamp when the distribution was created.
Declaration
Swift
public let createdAt: TimeStamp?
-
An object that describes the default cache behavior of the distribution.
Declaration
Swift
public let defaultCacheBehavior: CacheBehavior?
-
The domain name of the distribution.
Declaration
Swift
public let domainName: String?
-
Indicates whether the distribution is enabled.
Declaration
Swift
public let isEnabled: Bool?
-
An object that describes the location of the distribution, such as the AWS Region and Availability Zone. Lightsail distributions are global resources that can reference an origin in any AWS Region, and distribute its content globally. However, all distributions are located in the us-east-1 Region.
Declaration
Swift
public let location: ResourceLocation?
-
The name of the distribution.
Declaration
Swift
public let name: String?
-
An object that describes the origin resource of the distribution, such as a Lightsail instance or load balancer. The distribution pulls, caches, and serves content from the origin.
Declaration
Swift
public let origin: Origin?
-
The public DNS of the origin.
Declaration
Swift
public let originPublicDNS: String?
-
The Lightsail resource type (e.g., Distribution).
Declaration
Swift
public let resourceType: ResourceType?
-
The status of the distribution.
Declaration
Swift
public let status: 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.
Declaration
Swift
public let supportCode: String?
-
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.
Declaration
Swift
public let tags: [Tag]?
-
init(ableToUpdateBundle:alternativeDomainNames:arn:bundleId:cacheBehaviors:cacheBehaviorSettings:certificateName:createdAt:defaultCacheBehavior:domainName:isEnabled:location:name:origin:originPublicDNS:resourceType:status:supportCode:tags:)
Undocumented
Declaration
Swift
public init(ableToUpdateBundle: Bool? = nil, alternativeDomainNames: [String]? = nil, arn: String? = nil, bundleId: String? = nil, cacheBehaviors: [CacheBehaviorPerPath]? = nil, cacheBehaviorSettings: CacheSettings? = nil, certificateName: String? = nil, createdAt: TimeStamp? = nil, defaultCacheBehavior: CacheBehavior? = nil, domainName: String? = nil, isEnabled: Bool? = nil, location: ResourceLocation? = nil, name: String? = nil, origin: Origin? = nil, originPublicDNS: String? = nil, resourceType: ResourceType? = nil, status: String? = nil, supportCode: String? = nil, tags: [Tag]? = nil)