

# CapacityAssignmentConfiguration
<a name="API_CapacityAssignmentConfiguration"></a>

Assigns 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.

## Contents
<a name="API_CapacityAssignmentConfiguration_Contents"></a>

 ** CapacityAssignments **   <a name="athena-Type-CapacityAssignmentConfiguration-CapacityAssignments"></a>
The list of assignments that make up the capacity assignment configuration.  
Type: Array of [CapacityAssignment](API_CapacityAssignment.md) objects  
Required: No

 ** CapacityReservationName **   <a name="athena-Type-CapacityAssignmentConfiguration-CapacityReservationName"></a>
The name of the reservation that the capacity assignment configuration is for.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `[a-zA-Z0-9._-]+`   
Required: No

## See Also
<a name="API_CapacityAssignmentConfiguration_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/athena-2017-05-18/CapacityAssignmentConfiguration) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/athena-2017-05-18/CapacityAssignmentConfiguration) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/athena-2017-05-18/CapacityAssignmentConfiguration) 