Skip to main content

capacity_reservation_fleets

Retrieves a list of capacity_reservation_fleets in a region

Overview

Namecapacity_reservation_fleets
TypeResource
Descriptioncapacity_reservation_fleets
Idawscc.ec2.capacity_reservation_fleets

Fields

NameDatatypeDescription
capacity_reservation_fleet_idstring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
capacity_reservation_fleet_id
FROM awscc.ec2.capacity_reservation_fleets
WHERE region = 'us-east-1'

Permissions

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

Create

ec2:CreateCapacityReservationFleet,
ec2:ModifyCapacityReservationFleet,
ec2:DescribeCapacityReservationFleets,
ec2:CancelCapacityReservationFleets,
ec2:CreateCapacityReservation,
ec2:DescribeCapacityReservations,
ec2:CancelCapacityReservation,
ec2:DescribeInstances,
ec2:CreateTags,
iam:CreateServiceLinkedRole

List

ec2:DescribeCapacityReservationFleets,
ec2:DescribeCapacityReservations,
ec2:DescribeInstances