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
Field | Type | Name | Description |
---|---|---|---|
aws_profile | String | Connect profile | The identifier of AWS connect profile |
region | String | Region | e.g. ap-northeast-2 |
az | String | Availability Zone | e.g. ap-northeast-2a |
volume_id | String | Volume ID | |
volume_type | String | Volume type | e.g. gp2, st1, standard |
size | String | Size | Giga bytes |
state | String | State | e.g. creating, available, in-use, deleting, deleted, error |
created_at | String | Created at | |
encrypted | String | Encrypted | |
iops | String | IOPS | e.g. 300, 450 |
snapshot_id | String | Snapshot ID | |
attachments | String | Attachments | Elements with device, attached_at, instance_id, state, and delete_on_termination properties. |
tags | String | Tags | Elements with key and value properties. |