Modifies a volume attribute.

Request Parameters#

Required parameters#

  • VolumeId — The ID of the volume

    • Type: String

    • Required: Yes

Optional parameters#

  • Iops — The number of I/O operations per second.

  • Size — The size of the volume, in GiB.

    • Type: Integer

    • Required: No

    • Constraints: The value must be greater than or equal to the current size of the volume. For more information about available volume sizes see the Volumes section

Response Elements#

  • requestId — The request ID

    • Type: String

  • volumeModification — Information about volume modification.


c2-ec2 ModifyVolume VolumeId vol-01234567 Size 40