Class: Aws::Lightsail::Types::StopInstanceRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#force ⇒ Boolean

When set to True, forces a Lightsail instance that is stuck in a stopping state to stop.

Only use the force parameter if your instance is stuck in the stopping state. In any other state, your instance should stop normally without adding this parameter to your API request.

Returns:

  • (Boolean)


15069
15070
15071
15072
15073
15074
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 15069

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

#instance_name ⇒ String

The name of the instance (a virtual private server) to stop.

Returns:

  • (String)


15069
15070
15071
15072
15073
15074
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 15069

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