capacity_reservation
Gets an individual capacity_reservation
resource
Overview
Name | capacity_reservation |
Type | Resource |
Description | capacity_reservation |
Id | awscc.ec2.capacity_reservation |
Fields
Name | Datatype | Description |
---|---|---|
tenancy | string | |
end_date_type | string | |
tag_specifications | array | |
availability_zone | string | |
total_instance_count | integer | |
end_date | string | |
ebs_optimized | boolean | |
out_post_arn | string | |
instance_count | integer | |
placement_group_arn | string | |
available_instance_count | integer | |
instance_platform | string | |
id | string | |
instance_type | string | |
ephemeral_storage | boolean | |
instance_match_criteria | string | |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
tenancy,
end_date_type,
tag_specifications,
availability_zone,
total_instance_count,
end_date,
ebs_optimized,
out_post_arn,
instance_count,
placement_group_arn,
available_instance_count,
instance_platform,
id,
instance_type,
ephemeral_storage,
instance_match_criteria
FROM awscc.ec2.capacity_reservation
WHERE data__Identifier = '<Id>';
Permissions
To operate on the capacity_reservation
resource, the following permissions are required:
Delete
ec2:CreateCapacityReservation,
ec2:DescribeCapacityReservations,
ec2:CancelCapacityReservation,
ec2:DeleteTags
Read
ec2:DescribeCapacityReservations
Update
ec2:ModifyCapacityReservation,
ec2:CreateCapacityReservation,
ec2:DescribeCapacityReservations,
ec2:CancelCapacityReservation,
ec2:CreateTags,
ec2:DeleteTags