You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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.

Instance Attribute Summary collapse

Instance Attribute Details

#current_stateTypes::InstanceState

The current state of the instance.



15477
15478
15479
15480
15481
15482
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15477

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

#instance_idString

The ID of the instance.

Returns:

  • (String)


15477
15478
15479
15480
15481
15482
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15477

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

#previous_stateTypes::InstanceState

The previous state of the instance.



15477
15478
15479
15480
15481
15482
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15477

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