

# CategoricalParameterRangeSpecification


Defines the possible values for a categorical hyperparameter.

## Contents


 ** 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


For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/sagemaker-2017-07-24/CategoricalParameterRangeSpecification) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/sagemaker-2017-07-24/CategoricalParameterRangeSpecification) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/sagemaker-2017-07-24/CategoricalParameterRangeSpecification) 