Builder

class Builder

Properties

Link copied to clipboard
Link copied to clipboard

The Capacity Reservation targeting option. If you do not specify this parameter, the instance's Capacity Reservation preference defaults to open, which enables it to run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).

Link copied to clipboard

The CPU options for the instance. For more information, see CPU options for Amazon EC2 instances in the Amazon EC2 User Guide.

Link copied to clipboard

The credit option for CPU usage of the instance. Valid only for T instances.

Link copied to clipboard

Indicates whether to enable the instance for stop protection. For more information, see Enable stop protection for your EC2 instances in the Amazon EC2 User Guide.

Link copied to clipboard

Indicates whether termination protection is enabled for the instance. The default is false, which means that you can terminate the instance using the Amazon EC2 console, command line tools, or API. You can enable termination protection when you launch an instance, while the instance is running, or while the instance is stopped.

Link copied to clipboard

Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal Amazon EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance.

Link copied to clipboard

Amazon Elastic Inference is no longer available.

Link copied to clipboard

Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For more information, see What is Nitro Enclaves? in the Amazon Web Services Nitro Enclaves User Guide.

Link copied to clipboard

Indicates whether an instance is enabled for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites. For more information, see Hibernate your Amazon EC2 instance in the Amazon EC2 User Guide.

Link copied to clipboard

The name or Amazon Resource Name (ARN) of an IAM instance profile.

Link copied to clipboard

The ID of the AMI in the format ami-0ac394d6a3example.

Link copied to clipboard

Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

Link copied to clipboard

The market (purchasing) option for the instances.

Link copied to clipboard

The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes.

Link copied to clipboard

The instance type. For more information, see Amazon EC2 instance types in the Amazon EC2 User Guide.

Link copied to clipboard

The ID of the kernel.

Link copied to clipboard

The name of the key pair. You can create a key pair using CreateKeyPair or ImportKeyPair.

Link copied to clipboard
Link copied to clipboard

The maintenance options for the instance.

Link copied to clipboard

The metadata options for the instance. For more information, see Configure the Instance Metadata Service options in the Amazon EC2 User Guide.

Link copied to clipboard

The monitoring for the instance.

Link copied to clipboard
Link copied to clipboard

Contains launch template settings to boost network performance for the type of workload that runs on your instance.

Link copied to clipboard

The entity that manages the launch template.

Link copied to clipboard

The placement for the instance.

Link copied to clipboard

The options for the instance hostname. The default values are inherited from the subnet.

Link copied to clipboard

The ID of the RAM disk.

Link copied to clipboard

The IDs of the security groups.

Link copied to clipboard

The names of the security groups. For a nondefault VPC, you must use security group IDs instead.

Link copied to clipboard

The tags to apply to the resources that are created during instance launch. These tags are not applied to the launch template.

Link copied to clipboard

The user data to make available to the instance. You must provide base64-encoded text. User data is limited to 16 KB. For more information, see Run commands when you launch an EC2 instance with user data input in the Amazon EC2 User Guide.

Functions

Link copied to clipboard