Description Usage Arguments Value References See Also Examples
View source: R/start_instances.R
Stop a running instance, terminate a stopped instance, start a stopped instance, or reboot an instance.
1 2 3 4 5 6 7 | start_instances(instance, info = NULL, ...)
stop_instances(instance, force = FALSE, ...)
terminate_instances(instance, ...)
reboot_instances(instance, ...)
|
instance |
A character string containing an EC2 instance ID or an object of class “ec2_instance”. Or, actions can be taken on multiple instances in one call by passing a character vector of instance IDs, or a list of objects of class “ec2_instance”. |
info |
... |
... |
Additional arguments passed to [ec2HTTP()]. |
force |
... |
A list
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_StartInstances.html http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_StopInstances.html http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_TerminateInstances.html http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RebootInstances.html
describe_instances()
, run_instances()
1 2 3 4 5 6 7 8 | ## Not run:
i <- run_instances()
stop_instances(i[[1]])
start_instances(i[[1]])
stop_instances(i[[1]])
terminate_instances(i[[1]])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.