Class: Aws::EC2::Types::InstanceStateChange

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

Overview

Describes an instance state change.

Instance Attribute Summary collapse

Instance Attribute Details

#current_stateTypes::InstanceState

The current state of the instance.



22948
22949
22950
22951
22952
22953
# File 'lib/aws-sdk-ec2/types.rb', line 22948

class InstanceStateChange < Struct.new(
  :current_state,
  :instance_id,
  :previous_state)
  include Aws::Structure
end

#instance_idString

The ID of the instance.

Returns:

  • (String)


22948
22949
22950
22951
22952
22953
# File 'lib/aws-sdk-ec2/types.rb', line 22948

class InstanceStateChange < Struct.new(
  :current_state,
  :instance_id,
  :previous_state)
  include Aws::Structure
end

#previous_stateTypes::InstanceState

The previous state of the instance.



22948
22949
22950
22951
22952
22953
# File 'lib/aws-sdk-ec2/types.rb', line 22948

class InstanceStateChange < Struct.new(
  :current_state,
  :instance_id,
  :previous_state)
  include Aws::Structure
end