Builder

class Builder

Properties

Link copied to clipboard

The architecture of the AMI.

Link copied to clipboard

The billing product codes. Your account must be authorized to specify billing product codes.

Link copied to clipboard

The block device mapping entries.

Link copied to clipboard

The boot mode of the AMI. A value of uefi-preferred indicates that the AMI supports both UEFI and Legacy BIOS.

Link copied to clipboard

A description for your AMI.

Link copied to clipboard

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Link copied to clipboard

Set to true to enable enhanced networking with ENA for the AMI and any instances that you launch from the AMI.

Link copied to clipboard

The full path to your AMI manifest in Amazon S3 storage. The specified bucket must have the aws-exec-read canned access control list (ACL) to ensure that it can be accessed by Amazon EC2. For more information, see Canned ACL in the Amazon S3 Service Developer Guide.

Link copied to clipboard

Set to v2.0 to indicate that IMDSv2 is specified in the AMI. Instances launched from this AMI will have HttpTokens automatically set to required so that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition, HttpPutResponseHopLimit is set to 2. For more information, see Configure the AMI in the Amazon EC2 User Guide.

Link copied to clipboard

The ID of the kernel.

Link copied to clipboard
var name: String?

A name for your AMI.

Link copied to clipboard

The ID of the RAM disk.

Link copied to clipboard

The device name of the root device volume (for example, /dev/sda1).

Link copied to clipboard

Set to simple to enable enhanced networking with the Intel 82599 Virtual Function interface for the AMI and any instances that you launch from the AMI.

Link copied to clipboard

The tags to apply to the AMI.

Link copied to clipboard

Set to v2.0 to enable Trusted Platform Module (TPM) support. For more information, see NitroTPM in the Amazon EC2 User Guide.

Link copied to clipboard

Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data, use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the python-uefivars tool on GitHub. For more information, see UEFI Secure Boot for Amazon EC2 instances in the Amazon EC2 User Guide.

Link copied to clipboard

The type of virtualization (hvm | paravirtual).