View source: R/ec2_operations.R
ec2_modify_volume | R Documentation |
You can modify several parameters of an existing EBS volume, including volume size, volume type, and IOPS capacity. If your EBS volume is attached to a current-generation EC2 instance type, you might be able to apply these changes without stopping the instance or detaching the volume from it. For more information about modifying EBS volumes, see Amazon EBS Elastic Volumes in the Amazon EBS User Guide.
See https://www.paws-r-sdk.com/docs/ec2_modify_volume/ for full documentation.
ec2_modify_volume(
DryRun = NULL,
VolumeId,
Size = NULL,
VolumeType = NULL,
Iops = NULL,
Throughput = NULL,
MultiAttachEnabled = NULL
)
DryRun |
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is |
VolumeId |
[required] The ID of the volume. |
Size |
The target size of the volume, in GiB. The target volume size must be greater than or equal to the existing size of the volume. The following are the supported volumes sizes for each volume type:
Default: The existing size is retained. |
VolumeType |
The target EBS volume type of the volume. For more information, see Amazon EBS volume types in the Amazon EBS User Guide. Default: The existing type is retained. |
Iops |
The target IOPS rate of the volume. This parameter is valid only for
The following are the supported values for each volume type:
For Default: The existing value is retained if you keep the same volume
type. If you change the volume type to |
Throughput |
The target throughput of the volume, in MiB/s. This parameter is valid
only for Default: The existing value is retained if the source and target volume
type is Valid Range: Minimum value of 125. Maximum value of 1000. |
MultiAttachEnabled |
Specifies whether to enable Amazon EBS Multi-Attach. If you enable
Multi-Attach, you can attach the volume to up to 16 Nitro-based instances
in the same Availability Zone. This parameter is supported with |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.