

# EC2Capacity
<a name="API_EC2Capacity"></a>

 Information about EC2 capacity. 

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

 ** Family **   <a name="outposts-Type-EC2Capacity-Family"></a>
 The family of the EC2 capacity.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 10.  
Pattern: `[a-z0-9]+`   
Required: No

 ** MaxSize **   <a name="outposts-Type-EC2Capacity-MaxSize"></a>
 The maximum size of the EC2 capacity.   
Type: String  
Required: No

 ** Quantity **   <a name="outposts-Type-EC2Capacity-Quantity"></a>
 The quantity of the EC2 capacity.   
Type: String  
Required: No

## See Also
<a name="API_EC2Capacity_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/outposts-2019-12-03/EC2Capacity) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/outposts-2019-12-03/EC2Capacity) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/outposts-2019-12-03/EC2Capacity) 