Description Usage Arguments References See Also
Manage Elastic Block Store (EBS) volumes for EC2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | create_volume(size = NULL, type = NULL, iops = NULL, snapshot = NULL,
...)
modify_volume(volume, size = NULL, type = NULL, iops = NULL, ...)
delete_volume(volume, ...)
attach_volume(volume, instance, device, ...)
detach_volume(volume, instance, device = NULL, force = FALSE, ...)
enable_volume_io(volume, ...)
get_volume_attr(volume, attribute = c("autoEnableIO", "productCodes"), ...)
set_volume_attr(volume, auto_enable, ...)
describe_volumes(volume = NULL, filter = NULL, ...)
volume_status(volume = NULL, filter = NULL, ...)
|
size |
Size of the volume in gigabytes. See API documentation for allowed values. |
type |
The volume type. Defaults to "Standard". |
iops |
The number of I/O operations per second (IOPS) to provision for the volume, ranging from 100 to 32000. |
snapshot |
A character string containing an EBS Volume Snapshot snapshot ID or an object of class “ec2_ebs_snapshot”. |
... |
Additional arguments passed to [ec2HTTP()]. |
volume |
A character string containing an EBS Volume volume ID, or an object of class “ec2_ebs_volume”. |
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”. |
device |
... |
force |
... |
attribute |
... |
auto_enable |
... |
filter |
... |
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DeleteVolume.html https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyVolume.html https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AttachVolume.html https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DetachVolume.html https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVolumes.html https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVolumeStatus.html https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVolumeAttribute.html https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyVolumeAttribute.html
run_instances()
, create_snapshot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.