Skip to main content

capacity_reservations

Retrieves a list of capacity_reservations in a region

Overview

Namecapacity_reservations
TypeResource
Descriptioncapacity_reservations
Idawscc.ec2.capacity_reservations

Fields

NameDatatypeDescription
idstring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
id
FROM awscc.ec2.capacity_reservations
WHERE region = 'us-east-1'

Permissions

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

Create

ec2:CreateCapacityReservation,
ec2:DescribeCapacityReservations,
ec2:CancelCapacityReservation,
ec2:CreateTags

List

ec2:DescribeCapacityReservations