

# CommentFilter

One `ListComments` filter criterion.

A result matches if it equals any of the values you give for one attribute, and must match every attribute you name. Repeating an attribute name combines its value lists.

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

 ** name **   <a name="assurance-Type-CommentFilter-name"></a>
The comment attribute to match on.  
Type: String  
Valid Values: `task-id`   
Required: Yes

 ** values **   <a name="assurance-Type-CommentFilter-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_CommentFilter_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/CommentFilter) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/assurance-2022-07-26/CommentFilter) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/assurance-2022-07-26/CommentFilter) 