CreateComponentRequest
public struct CreateComponentRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The change description of the component. Describes what change has been made in this version, or what makes this version different from other versions of this component.
Declaration
Swift
public let changeDescription: String?
-
The idempotency token of the component.
Declaration
Swift
public let clientToken: String
-
The data of the component. Used to specify the data inline. Either data or uri can be used to specify the data within the component.
Declaration
Swift
public let data: String?
-
The description of the component. Describes the contents of the component.
Declaration
Swift
public let description: String?
-
The ID of the KMS key that should be used to encrypt this component.
Declaration
Swift
public let kmsKeyId: String?
-
The name of the component.
Declaration
Swift
public let name: String
-
The platform of the component.
Declaration
Swift
public let platform: Platform
-
The semantic version of the component. This version follows the semantic version syntax. For example, major.minor.patch. This could be versioned like software (2.0.1) or like a date (2019.12.01).
Declaration
Swift
public let semanticVersion: String
-
The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the parent image OS version during image recipe creation.
Declaration
Swift
public let supportedOsVersions: [String]?
-
The tags of the component.
Declaration
Swift
public let tags: [String : String]?
-
The uri of the component. Must be an S3 URL and the requester must have permission to access the S3 bucket. If you use S3, you can specify component content up to your service quota. Either data or uri can be used to specify the data within the component.
Declaration
Swift
public let uri: String?
-
init(changeDescription:clientToken:data:description:kmsKeyId:name:platform:semanticVersion:supportedOsVersions:tags:uri:)
Undocumented
Declaration
Swift
public init(changeDescription: String? = nil, clientToken: String = CreateComponentRequest.idempotencyToken(), data: String? = nil, description: String? = nil, kmsKeyId: String? = nil, name: String, platform: Platform, semanticVersion: String, supportedOsVersions: [String]? = nil, tags: [String : String]? = nil, uri: String? = nil)
-
Declaration
Swift
public func validate(name: String) throws