capacity_reservation_fleet
Gets an individual capacity_reservation_fleet
resource
Overview
Name | capacity_reservation_fleet |
Type | Resource |
Description | capacity_reservation_fleet |
Id | awscc.ec2.capacity_reservation_fleet |
Fields
Name | Datatype | Description |
---|---|---|
allocation_strategy | string | |
tag_specifications | array | |
instance_type_specifications | array | |
total_target_capacity | integer | |
end_date | string | |
instance_match_criteria | string | |
capacity_reservation_fleet_id | string | |
tenancy | string | |
remove_end_date | boolean | |
no_remove_end_date | boolean | |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
allocation_strategy,
tag_specifications,
instance_type_specifications,
total_target_capacity,
end_date,
instance_match_criteria,
capacity_reservation_fleet_id,
tenancy,
remove_end_date,
no_remove_end_date
FROM awscc.ec2.capacity_reservation_fleet
WHERE data__Identifier = '<CapacityReservationFleetId>';
Permissions
To operate on the capacity_reservation_fleet
resource, the following permissions are required:
Delete
ec2:CreateCapacityReservationFleet,
ec2:ModifyCapacityReservationFleet,
ec2:DescribeCapacityReservationFleets,
ec2:CancelCapacityReservationFleets,
ec2:CreateCapacityReservation,
ec2:DescribeCapacityReservations,
ec2:CancelCapacityReservation,
ec2:DeleteTags
Read
ec2:DescribeCapacityReservationFleets,
ec2:DescribeInstances,
ec2:DescribeCapacityReservations
Update
ec2:CreateCapacityReservationFleet,
ec2:ModifyCapacityReservationFleet,
ec2:DescribeCapacityReservationFleets,
ec2:CancelCapacityReservationFleets,
ec2:CreateCapacityReservation,
ec2:ModifyCapacityReservation,
ec2:DescribeCapacityReservations,
ec2:CancelCapacityReservation,
ec2:DescribeInstances,
ec2:DeleteTags