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_state ⇒ Types::InstanceState

The current state of the instance.



57110
57111
57112
57113
57114
57115
57116
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57110

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

#instance_id ⇒ String

The ID of the instance.

Returns:

  • (String)


57110
57111
57112
57113
57114
57115
57116
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57110

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

#previous_state ⇒ Types::InstanceState

The previous state of the instance.



57110
57111
57112
57113
57114
57115
57116
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57110

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