

# PortRange
<a name="API_PortRange"></a>

Describes a range of ports.

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

 ** From ** (request), ** from ** (response)  
The first port in the range.  
Type: Integer  
Required: No

 ** To ** (request), ** to ** (response)  
The last port in the range.  
Type: Integer  
Required: No

## See Also
<a name="API_PortRange_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/ec2-2016-11-15/PortRange) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/ec2-2016-11-15/PortRange) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/ec2-2016-11-15/PortRange) 