Class: Aws::EC2::Types::InstanceState
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::InstanceState
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
Describes the current state of an instance.
Instance Attribute Summary collapse
-
#code ⇒ Integer
The low byte represents the state.
-
#name ⇒ String
The current state of the instance.
Instance Attribute Details
#code ⇒ Integer
The low byte represents the state. The high byte is an opaque internal value and should be ignored.
-
‘0`: `pending`
-
‘16`: `running`
-
‘32`: `shutting-down`
-
‘48`: `terminated`
-
‘64`: `stopping`
-
‘80`: `stopped`
15494 15495 15496 15497 15498 |
# File 'lib/aws-sdk-ec2/types.rb', line 15494 class InstanceState < Struct.new( :code, :name) include Aws::Structure end |
#name ⇒ String
The current state of the instance.
15494 15495 15496 15497 15498 |
# File 'lib/aws-sdk-ec2/types.rb', line 15494 class InstanceState < Struct.new( :code, :name) include Aws::Structure end |