

# CategoricalParameterRangeSpecification
<a name="API_CategoricalParameterRangeSpecification"></a>

Defines the possible values for a categorical hyperparameter.

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

 ** Values **   <a name="sagemaker-Type-CategoricalParameterRangeSpecification-Values"></a>
The allowed categories for the hyperparameter.  
Type: Array of strings  
Array Members: Minimum number of 1 item. Maximum number of 30 items.  
Length Constraints: Minimum length of 0. Maximum length of 256.  
Pattern: `.*`   
Required: Yes

## See Also
<a name="API_CategoricalParameterRangeSpecification_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/sagemaker-2017-07-24/CategoricalParameterRangeSpecification) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/sagemaker-2017-07-24/CategoricalParameterRangeSpecification) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/sagemaker-2017-07-24/CategoricalParameterRangeSpecification) 