

# PortSet


A set of port ranges for use in the rules in a rule group. 

## Contents


 ** Definition **   <a name="networkfirewall-Type-PortSet-Definition"></a>
The set of port ranges.   
Type: Array of strings  
Length Constraints: Minimum length of 1.  
Pattern: `^.*$`   
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/network-firewall-2020-11-12/PortSet) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/network-firewall-2020-11-12/PortSet) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/network-firewall-2020-11-12/PortSet) 