

# DataSourceFilter
<a name="API_DataSourceFilter"></a>

Filter criteria for data sources, used to specify which data sources to include in operations based on name and type.

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

 ** name **   <a name="CWL-Type-DataSourceFilter-name"></a>
The name pattern to filter data sources by.  
Type: String  
Required: Yes

 ** type **   <a name="CWL-Type-DataSourceFilter-type"></a>
The type pattern to filter data sources by.  
Type: String  
Required: No

## See Also
<a name="API_DataSourceFilter_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/logs-2014-03-28/DataSourceFilter) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/logs-2014-03-28/DataSourceFilter) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/logs-2014-03-28/DataSourceFilter) 