Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

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.


47054
47055
47056
47057
47058
47059
47060
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47054

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

#instance_idString

The ID of the instance.

Returns:

  • (String)

47054
47055
47056
47057
47058
47059
47060
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47054

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

#previous_stateTypes::InstanceState

The previous state of the instance.


47054
47055
47056
47057
47058
47059
47060
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47054

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