

# DataSource
<a name="API_DataSource"></a>

Represents a data source that categorizes logs by originating service and log type, providing service-based organization complementing traditional log groups.

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

 ** name **   <a name="CWL-Type-DataSource-name"></a>
The name of the data source.  
Type: String  
Required: Yes

 ** type **   <a name="CWL-Type-DataSource-type"></a>
The type of the data source.  
Type: String  
Required: No

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