Builder

class Builder

Properties

Link copied to clipboard

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

Link copied to clipboard

The ID of the AMI that was used to create the instance. The value of this parameter must be the same AMI ID that the instance is already using. You cannot apply a new AMI to an instance by running UpdateInstance. UpdateInstance does not work on instances that are using custom AMIs.

Link copied to clipboard

The instance architecture. 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

This property cannot be updated.

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 ID.

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

The instance's layer IDs.

Link copied to clipboard
var os: String?

The instance's operating system, which must be set to one of the following. You cannot update an instance that is using a custom AMI.

Link copied to clipboard

The instance's Amazon EC2 key name.