class Aws::Lightsail::Types::StopInstanceRequest
@note When making an API call, you may pass StopInstanceRequest
data as a hash: { instance_name: "ResourceName", # required force: false, }
@!attribute [rw] instance_name
The name of the instance (a virtual private server) to stop. @return [String]
@!attribute [rw] force
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. @return [Boolean]
@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopInstanceRequest AWS API Documentation
Constants
- SENSITIVE