aws ec2 modify-volume
You can modify several parameters of an existing EBS volume, including volume size, volume type, and IOPS capacity. AWS CLI reference
7 options Its page in the AWS CLI reference
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--iopsThe target IOPS rate of the volume.--multi-attach-enabledSpecifies whether to enable Amazon EBS Multi-Attach.--sizeThe target size of the volume, in GiB.--throughputThe target throughput of the volume, in MiB/s.--volume-idThe ID of the volume.--volume-typeThe target EBS volume type of the volume.