Builder

class Builder

Properties

Link copied to clipboard

Before you create a new AMI, Image Builder launches temporary Amazon EC2 instances to build and test your image configuration. Instance configuration adds a layer of control over those instances. You can define settings and add scripts to run when Image Builder launches your build instance.

Link copied to clipboard

Tags that are applied to the AMI that Image Builder creates during the Build phase prior to image distribution.

Link copied to clipboard

The AMI watermark names attached to the output AMI from this recipe. AMI watermarks are lineage markers that automatically propagate to derivative AMIs when the source AMI is copied or distributed.

Link copied to clipboard
var arn: String?

The Amazon Resource Name (ARN) of the image recipe.

Link copied to clipboard

The block device mappings to apply when creating images from this recipe.

Link copied to clipboard

The components that are included in the image recipe. A recipe can contain a maximum of 20 build and test components in any combination, by default. This maximum is an adjustable quota. For more information, see EC2 Image Builder endpoints and quotas in the Amazon Web Services General Reference.

Link copied to clipboard

The date on which this image recipe was created.

Link copied to clipboard

The description of the image recipe.

Link copied to clipboard
var name: String?

The name of the image recipe.

Link copied to clipboard

The owner of the image recipe.

Link copied to clipboard

The base image for customizations specified in the image recipe. You can specify the parent image using one of the following options:

Link copied to clipboard

The platform of the image recipe.

Link copied to clipboard

The tags of the image recipe.

Link copied to clipboard

The output image type. For an image recipe, this is always AMI. Container images are built from container recipes, a separate resource. This field isn't currently returned in responses.

Link copied to clipboard

The version of the image recipe.

Link copied to clipboard

The working directory used during build and test workflows. If you don't specify a working directory, Image Builder uses /tmp for Linux and macOS build instances, and C:/ for Windows build instances.