

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

An inclusive range of ports. The value of `from` must be less than or equal to the value of `to`.

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

 ** from **   <a name="bedrockagentcorecontrol-Type-PortRange-from"></a>
The first port in the inclusive range.  
Type: Integer  
Valid Range: Minimum value of 8000. Maximum value of 12000.  
Required: Yes

 ** to **   <a name="bedrockagentcorecontrol-Type-PortRange-to"></a>
The last port in the inclusive range.  
Type: Integer  
Valid Range: Minimum value of 8000. Maximum value of 12000.  
Required: Yes

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

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/bedrock-agentcore-control-2023-06-05/PortRange) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/bedrock-agentcore-control-2023-06-05/PortRange) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/bedrock-agentcore-control-2023-06-05/PortRange) 