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

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#forceBoolean

Specifies whether to force an instance to stop. If the instance’s root device type is ‘ebs`, or EBS-backed, adding the `Force` parameter to the `StopInstances` API call disassociates the OpsWorks Stacks instance from EC2, and forces deletion of only the OpsWorks Stacks instance. You must also delete the formerly-associated instance in EC2 after troubleshooting and replacing the OpsWorks Stacks instance with a new one.

Returns:

  • (Boolean)


5149
5150
5151
5152
5153
5154
# File 'lib/aws-sdk-opsworks/types.rb', line 5149

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

#instance_idString

The instance ID.

Returns:

  • (String)


5149
5150
5151
5152
5153
5154
# File 'lib/aws-sdk-opsworks/types.rb', line 5149

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