You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Lightsail::Types::InstanceState

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Describes the virtual private server (or instance) status.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#codeInteger

The status code for the instance.

Returns:

  • (Integer)

    The status code for the instance.

#nameString

The state of the instance (e.g., running or pending).

Returns:

  • (String)

    The state of the instance (e.g., running or pending).