AWS

Download 186
Last updated Feb 21, 2024

aws-ec2-volumes

Describes all AWS EBS volumes.

aws-ec2-volumes [profile=PROFILE] [region=REGION]
profile=PROFILE
The identifier of AWS connect profile
region=REGION
AWS region

AWS IAM Policy

To use this command, you must allow the below permissions in your AWS IAM policy:

  • ec2:DescribeVolumes

Output Fields

FieldTypeNameDescription
aws_profileStringConnect profileThe identifier of AWS connect profile
regionStringRegione.g. ap-northeast-2
azStringAvailability Zonee.g. ap-northeast-2a
volume_idStringVolume ID
volume_typeStringVolume typee.g. gp2, st1, standard
sizeStringSizeGiga bytes
stateStringStatee.g. creating, available, in-use, deleting, deleted, error
created_atStringCreated at
encryptedStringEncrypted
iopsStringIOPSe.g. 300, 450
snapshot_idStringSnapshot ID
attachmentsStringAttachmentsElements with device, attached_at, instance_id, state, and delete_on_termination properties.
tagsStringTagsElements with key and value properties.