CreateImageRecipeRequest
public struct CreateImageRecipeRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The block device mappings of the image recipe.
Declaration
Swift
public let blockDeviceMappings: [InstanceBlockDeviceMapping]?
-
The idempotency token used to make this request idempotent.
Declaration
Swift
public let clientToken: String
-
The components of the image recipe.
Declaration
Swift
public let components: [ComponentConfiguration]
-
The description of the image recipe.
Declaration
Swift
public let description: String?
-
The name of the image recipe.
Declaration
Swift
public let name: String
-
The parent image of the image recipe. The value of the string can be the ARN of the parent image or an AMI ID. The format for the ARN follows this example: arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/2019.x.x. The ARN ends with /20xx.x.x, which communicates to EC2 Image Builder that you want to use the latest AMI created in 20xx (year). You can provide the specific version that you want to use, or you can use a wildcard in all of the fields. If you enter an AMI ID for the string value, you must have access to the AMI, and the AMI must be in the same Region in which you are using Image Builder.
Declaration
Swift
public let parentImage: String
-
The semantic version of the image recipe.
Declaration
Swift
public let semanticVersion: String
-
The tags of the image recipe.
Declaration
Swift
public let tags: [String : String]?
-
The working directory to be used during build and test workflows.
Declaration
Swift
public let workingDirectory: String?
-
init(blockDeviceMappings:clientToken:components:description:name:parentImage:semanticVersion:tags:workingDirectory:)
Undocumented
Declaration
Swift
public init(blockDeviceMappings: [InstanceBlockDeviceMapping]? = nil, clientToken: String = CreateImageRecipeRequest.idempotencyToken(), components: [ComponentConfiguration], description: String? = nil, name: String, parentImage: String, semanticVersion: String, tags: [String : String]? = nil, workingDirectory: String? = nil)
-
Declaration
Swift
public func validate(name: String) throws