CmdID

CmdID / aws / aws ec2

aws ec2 modify-volume-attribute

Modifies a volume attribute. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To modify a volume attribute

The following modify-volume-attribute example sets the autoEnableIo attribute of the volume with the ID vol-1234567890abcdef0 to true.

aws ec2 modify-volume-attribute --volume-id vol-1234567890abcdef0 --auto-enable-ioIdentify
--volume-idThe ID of the volume.
--auto-enable-ioIndicates whether the volume should be auto-enabled for I/O operations.

This command produces no output.

For more information, see Amazon EBS volume status checks in the Amazon EBS User Guide.

Options

3 in the AWS CLI reference
--auto-enable-ioIndicates whether the volume should be auto-enabled for I/O operations.
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.
--volume-idThe ID of the volume.