CreateInstanceRequest

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The default OpsWorks Stacks agent version. You have the following options:

Link copied to clipboard

A custom AMI ID to be used to create the instance. The AMI should be based on one of the supported operating systems. For more information, see Using Custom AMIs.

Link copied to clipboard

The instance architecture. The default option is x86_64. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.

Link copied to clipboard

For load-based or time-based instances, the type. Windows stacks can use only time-based instances.

Link copied to clipboard

The instance Availability Zone. For more information, see Regions and Endpoints.

Link copied to clipboard

An array of BlockDeviceMapping objects that specify the instance's block devices. For more information, see Block Device Mapping. Note that block device mappings are not supported for custom AMIs.

Link copied to clipboard

Whether to create an Amazon EBS-optimized instance.

Link copied to clipboard

The instance host name. The following are character limits for instance host names.

Link copied to clipboard

Whether to install operating system and package updates when the instance boots. The default value is true. To control when updates are installed, set this value to false. You must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or by manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances.

Link copied to clipboard

The instance type, such as t2.micro. For a list of supported instance types, open the stack in the console, choose Instances, and choose + Instance. The Size list contains the currently supported types. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table.

Link copied to clipboard

An array that contains the instance's layer IDs.

Link copied to clipboard
val os: String?

The instance's operating system, which must be set to one of the following.

Link copied to clipboard

The instance root device type. For more information, see Storage for the Root Device.

Link copied to clipboard

The instance's Amazon EC2 key-pair name.

Link copied to clipboard

The stack ID.

Link copied to clipboard

The ID of the instance's subnet. If the stack is running in a VPC, you can use this parameter to override the stack's default subnet ID value and direct OpsWorks Stacks to launch the instance in a different subnet.

Link copied to clipboard

The instance's tenancy option. The default option is no tenancy, or if the instance is running in a VPC, inherit tenancy settings from the VPC. The following are valid values for this parameter: dedicated, default, or host. Because there are costs associated with changes in tenancy options, we recommend that you research tenancy options before choosing them for your instances. For more information about dedicated hosts, see Dedicated Hosts Overview and Amazon EC2 Dedicated Hosts. For more information about dedicated instances, see Dedicated Instances and Amazon EC2 Dedicated Instances.

Link copied to clipboard

The instance's virtualization type, paravirtual or hvm.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String