Learn R Programming

paws.compute (version 0.7.0)

lightsail_stop_instance: Stops a specific Amazon Lightsail instance that is currently running

Description

Stops a specific Amazon Lightsail instance that is currently running.

See https://www.paws-r-sdk.com/docs/lightsail_stop_instance/ for full documentation.

Usage

lightsail_stop_instance(instanceName, force = NULL)

Arguments

instanceName

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

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.