Skip to main content

volumes

Retrieves a list of volumes in a region

Overview

Namevolumes
TypeResource
Descriptionvolumes
Idawscc.ec2.volumes

Fields

NameDatatypeDescription
volume_idstring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
volume_id
FROM awscc.ec2.volumes
WHERE region = 'us-east-1'

Permissions

To operate on the volumes resource, the following permissions are required:

Create

ec2:CreateVolume,
ec2:DescribeVolumes,
ec2:DescribeVolumeAttribute,
ec2:ModifyVolumeAttribute,
ec2:CreateTags,
kms:GenerateDataKeyWithoutPlaintext,
kms:CreateGrant

List

ec2:DescribeVolumes,
ec2:DescribeTags,
ec2:DescribeVolumeAttribute