

# LogTarget
<a name="API_LogTarget"></a>

A log target.

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

 ** targetType **   <a name="iot-Type-LogTarget-targetType"></a>
The target type.  
Type: String  
Valid Values: `DEFAULT | THING_GROUP | CLIENT_ID | SOURCE_IP | PRINCIPAL_ID`   
Required: Yes

 ** targetName **   <a name="iot-Type-LogTarget-targetName"></a>
The target name.  
Type: String  
Required: No

## See Also
<a name="API_LogTarget_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/iot-2015-05-28/LogTarget) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iot-2015-05-28/LogTarget) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iot-2015-05-28/LogTarget) 