

# TaskFilter

A single `ListTasks` filter criterion. Values within one criterion are combined with OR; criteria naming different attributes are combined with AND. Repeating an attribute name unions its value lists. Every criterion matches on exact equality.

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

 ** name **   <a name="assurance-Type-TaskFilter-name"></a>
The task attribute to match on.  
Type: String  
Valid Values: `framework | framework-version | control-id | task-id | status | priority | assessment-id`   
Required: Yes

 ** values **   <a name="assurance-Type-TaskFilter-values"></a>
The values to match the attribute against, compared for exact equality.  
Type: Array of strings  
Array Members: Minimum number of 1 item. Maximum number of 20 items.  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Pattern: `[a-zA-Z0-9][a-zA-Z0-9._:/=+@()-]*`   
Required: Yes

## See Also
<a name="API_TaskFilter_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/assurance-2022-07-26/TaskFilter) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/assurance-2022-07-26/TaskFilter) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/assurance-2022-07-26/TaskFilter) 