Skip to main content

capacity_reservations

Used to retrieve a list of capacity_reservations in a region or create a capacity_reservations resource, use capacity_reservation to operate on an individual resource.

Overview

Namecapacity_reservations
TypeResource
DescriptionResource Type definition for AWS::EC2::CapacityReservation
Idaws.ec2.capacity_reservations

Fields

NameDatatypeDescription
idstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTdata__DesiredState, region
list_resourceSELECTregion

SELECT Example

SELECT
region,
id
FROM aws.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