

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 在 中使用 Amazon DocumentDB 資料庫做為同質資料遷移的目標 AWS DMS
<a name="dm-data-providers-target-docdb"></a>

您可以使用 Amazon DocumentDB （與 MongoDB 相容性） 資料庫和 DocumentDB Elastic 叢集做為同質資料遷移的遷移目標 AWS DMS。

若要為 Amazon DocumentDB 目標執行同質資料遷移，您可以建立具有管理員權限的使用者帳戶，或僅在資料庫上具有讀取/寫入許可的使用者以進行遷移。

同質資料遷移支援 Amazon DocumentDB 支援的所有 BSON 資料類型。如需這些資料類型的清單，請參閱《*Amazon DocumentDB 開發人員指南*》中的[資料類型](https://docs.aws.amazon.com/documentdb/latest/developerguide/mongo-apis.html#mongo-apis-data-types)。

若要使用 DocumentDB Elastic 叢集的碎片功能從來源遷移非碎片集合，請在開始資料遷移任務之前建立碎片集合以進行遷移。如需 Amazon DocumentDB Elastic 叢集中碎片集合的詳細資訊，請參閱《*Amazon DocumentDB 開發人員指南*》中的[步驟 5：碎片集合](https://docs.aws.amazon.com/documentdb/latest/developerguide/elastic-get-started.html#elastic-get-started-step6)。

對於 Amazon DocumentDB 目標， AWS DMS 支援 `none`或 `require` SSL 模式。