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