

# InstanceCount


Describes a Reserved Instance listing state.

## Contents


 ** instanceCount **   
The number of listed Reserved Instances in the state specified by the `state`.  
Type: Integer  
Required: No

 ** state **   
The states of the listed Reserved Instances.  
Type: String  
Valid Values: `available | sold | cancelled | pending`   
Required: No

## See Also


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/ec2-2016-11-15/InstanceCount) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/ec2-2016-11-15/InstanceCount) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/ec2-2016-11-15/InstanceCount) 