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

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



30681
30682
30683
30684
30685
30686
30687
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 30681

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

#instance_idString

The ID of the instance.

Returns:

  • (String)


30681
30682
30683
30684
30685
30686
30687
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 30681

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

#previous_stateTypes::InstanceState

The previous state of the instance.



30681
30682
30683
30684
30685
30686
30687
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 30681

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