Instance

class Instance

Describes an EC2 instance.

Types

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

Properties

Link copied to clipboard

The Availability Zone in which the instance is running.

Link copied to clipboard

The last reported health status of the instance. Healthy means that the instance is healthy and should remain in service. Unhealthy means that the instance is unhealthy and that Amazon EC2 Auto Scaling should terminate and replace it.

Link copied to clipboard

The ID of the instance.

Link copied to clipboard

The instance type of the EC2 instance.

Link copied to clipboard

The launch configuration associated with the instance.

Link copied to clipboard

The launch template for the instance.

Link copied to clipboard

A description of the current lifecycle state. The Quarantined state is not used. For more information, see Amazon EC2 Auto Scaling instance lifecycle in the Amazon EC2 Auto Scaling User Guide.

Link copied to clipboard

Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.

Link copied to clipboard

The number of capacity units contributed by the instance based on its instance type.

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