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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#current_stateTypes::InstanceState

The current state of the instance.



44616
44617
44618
44619
44620
44621
44622
# File 'lib/aws-sdk-ec2/types.rb', line 44616

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

#instance_idString

The ID of the instance.

Returns:

  • (String)


44616
44617
44618
44619
44620
44621
44622
# File 'lib/aws-sdk-ec2/types.rb', line 44616

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

#previous_stateTypes::InstanceState

The previous state of the instance.



44616
44617
44618
44619
44620
44621
44622
# File 'lib/aws-sdk-ec2/types.rb', line 44616

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