

# TargetDataSetting
<a name="API_TargetDataSetting"></a>

Defines settings for a target data provider for a data migration.

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

 ** TablePreparationMode **   <a name="DMS-Type-TargetDataSetting-TablePreparationMode"></a>
This setting determines how DMS handles the target tables before starting a data migration, either by leaving them untouched, dropping and recreating them, or truncating the existing data in the target tables.  
Type: String  
Valid Values: `drop-tables-on-target | truncate | do-nothing`   
Required: No

## See Also
<a name="API_TargetDataSetting_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/dms-2016-01-01/TargetDataSetting) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/dms-2016-01-01/TargetDataSetting) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/dms-2016-01-01/TargetDataSetting) 