

# RecommendedActionFilter
<a name="API_automation_RecommendedActionFilter"></a>

A filter used to narrow down recommended action results based on specific criteria.

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

 ** name **   <a name="computeoptimizer-Type-automation_RecommendedActionFilter-name"></a>
The name of the filter field to apply.  
Type: String  
Valid Values: `ResourceType | RecommendedActionType | ResourceId | LookBackPeriodInDays | CurrentResourceDetailsEbsVolumeType | ResourceTagsKey | ResourceTagsValue | AccountId | RestartNeeded`   
Required: Yes

 ** values **   <a name="computeoptimizer-Type-automation_RecommendedActionFilter-values"></a>
List of filter values to match against the specified filter name. Used to narrow down recommended actions based on specific criteria.  
Type: Array of strings  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `[a-zA-Z0-9\-_\.\*\?\s]+`   
Required: Yes

## See Also
<a name="API_automation_RecommendedActionFilter_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/compute-optimizer-automation-2025-09-22/RecommendedActionFilter) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/compute-optimizer-automation-2025-09-22/RecommendedActionFilter) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/compute-optimizer-automation-2025-09-22/RecommendedActionFilter) 