Instance

class Instance

Describes an instance.

Types

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

Properties

Link copied to clipboard

The agent version. This parameter is set to INHERIT if the instance inherits the default stack setting or to a a version number for a fixed agent version.

Link copied to clipboard

A custom AMI ID to be used to create the instance. For more information, see Instances

Link copied to clipboard

The instance architecture: "i386" or "x86_64".

Link copied to clipboard
val arn: String?

The instance's Amazon Resource Number (ARN).

Link copied to clipboard

For load-based or time-based instances, the type.

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 device mappings.

Link copied to clipboard

The time that the instance was created.

Link copied to clipboard

Whether this is an Amazon EBS-optimized instance.

Link copied to clipboard

The ID of the associated Amazon EC2 instance.

Link copied to clipboard

For container instances, the Amazon ECS cluster's ARN.

Link copied to clipboard

For container instances, the instance's ARN.

Link copied to clipboard
Link copied to clipboard

The instance host name.

Link copied to clipboard

For registered instances, the infrastructure class: ec2 or on-premises.

Link copied to clipboard

Whether to install operating system and package updates when the instance boots. The default value is true. If this value is set 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 ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.

Link copied to clipboard

The instance type, such as t2.micro.

Link copied to clipboard

The ID of the last service error. For more information, call DescribeServiceErrors.

Link copied to clipboard

An array containing the instance layer IDs.

Link copied to clipboard
val os: String?

The instance's operating system.

Link copied to clipboard

The instance's platform.

Link copied to clipboard

The instance's private DNS name.

Link copied to clipboard

The instance's private IP address.

Link copied to clipboard

The instance public DNS name.

Link copied to clipboard

The instance public IP address.

Link copied to clipboard

For registered instances, who performed the registration.

Link copied to clipboard

The instance's reported AWS OpsWorks Stacks agent version.

Link copied to clipboard

For registered instances, the reported operating system.

Link copied to clipboard

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

Link copied to clipboard

The root device volume ID.

Link copied to clipboard

An array containing the instance security group IDs.

Link copied to clipboard

The SSH key's Deep Security Agent (DSA) fingerprint.

Link copied to clipboard

The SSH key's RSA fingerprint.

Link copied to clipboard

The instance's Amazon EC2 key-pair name.

Link copied to clipboard

The stack ID.

Link copied to clipboard

The instance status:

Link copied to clipboard

The instance's subnet ID; applicable only if the stack is running in a VPC.

Link copied to clipboard

The instance's tenancy option, such as dedicated or host.

Link copied to clipboard

The instance's virtualization type: paravirtual or hvm.

Functions

Link copied to clipboard
inline fun copy(block: Instance.Builder.() -> Unit = {}): Instance
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