capacity_reservation_fleets
Used to retrieve a list of capacity_reservation_fleets
in a region or create a capacity_reservation_fleets
resource, use capacity_reservation_fleet
to operate on an individual resource.
Overview
Name | capacity_reservation_fleets |
Type | Resource |
Description | Resource Type definition for AWS::EC2::CapacityReservationFleet |
Id | aws.ec2.capacity_reservation_fleets |
Fields
Name | Datatype | Description |
---|---|---|
capacity_reservation_fleet_id | string | |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | data__DesiredState, region |
list_resource | SELECT | region |
SELECT
Example
SELECT
region,
capacity_reservation_fleet_id
FROM aws.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