

# Capacity
<a name="API_Capacity"></a>

Describes the user capacity for a pool of WorkSpaces.

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

 ** DesiredUserSessions **   <a name="WorkSpaces-Type-Capacity-DesiredUserSessions"></a>
The desired number of user sessions for the WorkSpaces in the pool.  
Type: Integer  
Valid Range: Minimum value of 0.  
Required: Yes

## See Also
<a name="API_Capacity_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/workspaces-2015-04-08/Capacity) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/workspaces-2015-04-08/Capacity) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/workspaces-2015-04-08/Capacity) 