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

Class: Aws::OpsWorks::Types::StopInstanceRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb

Overview

Note:

When making an API call, you may pass StopInstanceRequest data as a hash:

{
  instance_id: "String", # required
  force: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#forceBoolean

Specifies whether to force an instance to stop.

Returns:

  • (Boolean)


5868
5869
5870
5871
5872
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 5868

class StopInstanceRequest < Struct.new(
  :instance_id,
  :force)
  include Aws::Structure
end

#instance_idString

The instance ID.

Returns:

  • (String)


5868
5869
5870
5871
5872
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 5868

class StopInstanceRequest < Struct.new(
  :instance_id,
  :force)
  include Aws::Structure
end