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