Skip to main content

capacity_reservation

Gets an individual capacity_reservation resource

Overview

Namecapacity_reservation
TypeResource
Descriptioncapacity_reservation
Idawscc.athena.capacity_reservation

Fields

NameDatatypeDescription
arnstring
namestringThe reservation name.
statusstringThe status of the reservation.
target_dpusintegerThe number of DPUs to request to be allocated to the reservation.
allocated_dpusintegerThe number of DPUs Athena has provisioned and allocated for the reservation
capacity_assignment_configurationobject
creation_timestringThe date and time the reservation was created.
last_successful_allocation_timestringThe timestamp when the last successful allocated was made
tagsarrayAn array of key-value pairs to apply to this resource.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
arn,
name,
status,
target_dpus,
allocated_dpus,
capacity_assignment_configuration,
creation_time,
last_successful_allocation_time,
tags
FROM awscc.athena.capacity_reservation
WHERE data__Identifier = '<Arn>';

Permissions

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

Read

athena:GetCapacityReservation,
athena:GetCapacityAssignmentConfiguration,
athena:ListTagsForResource

Update

athena:UpdateCapacityReservation,
athena:PutCapacityAssignmentConfiguration,
athena:GetCapacityReservation,
athena:TagResource,
athena:UntagResource

Delete

athena:CancelCapacityReservation,
athena:GetCapacityReservation,
athena:DeleteCapacityReservation