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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lightsail/types.rb

Overview

Describes the virtual private server (or instance) status.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#codeInteger

The status code for the instance.

Returns:

  • (Integer)


10790
10791
10792
10793
10794
10795
# File 'lib/aws-sdk-lightsail/types.rb', line 10790

class InstanceState < Struct.new(
  :code,
  :name)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The state of the instance (‘running` or `pending`).

Returns:

  • (String)


10790
10791
10792
10793
10794
10795
# File 'lib/aws-sdk-lightsail/types.rb', line 10790

class InstanceState < Struct.new(
  :code,
  :name)
  SENSITIVE = []
  include Aws::Structure
end