CreateDistributionRequest
public struct CreateDistributionRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The bundle ID to use for the distribution. A distribution bundle describes the specifications of your distribution, such as the monthly cost and monthly network transfer quota. Use the GetDistributionBundles action to get a list of distribution bundle IDs that you can specify.
Declaration
Swift
public let bundleId: String
-
An array of objects that describe the per-path cache behavior for the distribution.
Declaration
Swift
public let cacheBehaviors: [CacheBehaviorPerPath]?
-
An object that describes the cache behavior settings for the distribution.
Declaration
Swift
public let cacheBehaviorSettings: CacheSettings?
-
An object that describes the default cache behavior for the distribution.
Declaration
Swift
public let defaultCacheBehavior: CacheBehavior
-
The name for the distribution.
Declaration
Swift
public let distributionName: String
-
An object that describes the origin resource for 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: InputOrigin
-
The tag keys and optional values to add to the distribution during create. Use the TagResource action to tag a resource after it’s created.
Declaration
Swift
public let tags: [Tag]?
-
init(bundleId:cacheBehaviors:cacheBehaviorSettings:defaultCacheBehavior:distributionName:origin:tags:)
Undocumented
Declaration
Swift
public init(bundleId: String, cacheBehaviors: [CacheBehaviorPerPath]? = nil, cacheBehaviorSettings: CacheSettings? = nil, defaultCacheBehavior: CacheBehavior, distributionName: String, origin: InputOrigin, tags: [Tag]? = nil)
-
Declaration
Swift
public func validate(name: String) throws