AWS::Athena::CapacityReservationSpecifies a capacity reservation with the provided name and number of requested data processing units.
import { CfnCapacityReservation } from 'aws-cdk-lib/aws-athena';Or use the module namespace:
import * as athena from 'aws-cdk-lib/aws-athena';
// athena.CfnCapacityReservationConfiguration passed to the constructor as CfnCapacityReservationProps.
nameRequiredstringThe name of the capacity reservation.
targetDpusRequirednumberThe number of data processing units requested.
capacityAssignmentConfigurationOptionalIResolvable | CapacityAssignmentConfigurationPropertyAssigns Athena workgroups (and hence their queries) to capacity reservations. A capacity reservation can have only one capacity assignment configuration, but the capacity assignment configuration can be made up of multiple individual assignments. Each assignment specifies how Athena queries can consume capacity from the capacity reservation that their workgroup is mapped to.
tagsOptionalCfnTag[]An array of key-value pairs to apply to the capacity reservation. For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-athenaAWS::Athena::CapacityReservation