You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Lightsail::Types::StopInstanceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::StopInstanceRequest
- Defined in:
- (unknown)
Overview
Note:
When passing StopInstanceRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
instance_name: "ResourceName", # required
force: false,
}
Instance Attribute Summary collapse
-
#force ⇒ Boolean
When set to
True
, forces a Lightsail instance that is stuck in astopping
state to stop. -
#instance_name ⇒ String
The name of the instance (a virtual private server) to stop.
Instance Attribute Details
#force ⇒ Boolean
When set to True
, forces a Lightsail instance that is stuck in a
stopping
state to stop.
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.
#instance_name ⇒ String
The name of the instance (a virtual private server) to stop.