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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/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)


8929
8930
8931
8932
8933
8934
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 8929

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

#nameString

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

Returns:

  • (String)


8929
8930
8931
8932
8933
8934
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 8929

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