volumes
Retrieves a list of volumes
in a region
Overview
Name | volumes |
Type | Resource |
Description | volumes |
Id | awscc.ec2.volumes |
Fields
Name | Datatype | Description |
---|---|---|
volume_id | string | |
region | string | AWS 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