

# RuleGroupSourceStatelessRuleMatchAttributesSourcePorts
<a name="API_RuleGroupSourceStatelessRuleMatchAttributesSourcePorts"></a>

A port range to specify the source ports to inspect for.

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

 ** FromPort **   <a name="securityhub-Type-RuleGroupSourceStatelessRuleMatchAttributesSourcePorts-FromPort"></a>
The starting port value for the port range.  
Type: Integer  
Required: No

 ** ToPort **   <a name="securityhub-Type-RuleGroupSourceStatelessRuleMatchAttributesSourcePorts-ToPort"></a>
The ending port value for the port range.  
Type: Integer  
Required: No

## See Also
<a name="API_RuleGroupSourceStatelessRuleMatchAttributesSourcePorts_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/securityhub-2018-10-26/RuleGroupSourceStatelessRuleMatchAttributesSourcePorts) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/securityhub-2018-10-26/RuleGroupSourceStatelessRuleMatchAttributesSourcePorts) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/securityhub-2018-10-26/RuleGroupSourceStatelessRuleMatchAttributesSourcePorts) 