AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Provides information that defines a MongoDB endpoint.
Namespace: Amazon.DatabaseMigrationService.Model
Assembly: AWSSDK.DatabaseMigrationService.dll
Version: 3.x.y.z
public class MongoDbSettings
The MongoDbSettings type exposes the following members
Name | Description | |
---|---|---|
MongoDbSettings() |
Name | Type | Description | |
---|---|---|---|
AuthMechanism | Amazon.DatabaseMigrationService.AuthMechanismValue |
Gets and sets the property AuthMechanism. The authentication mechanism you use to access the MongoDB source endpoint.
For the default value, in MongoDB version 2.x, |
|
AuthSource | System.String |
Gets and sets the property AuthSource.
The MongoDB database name. This setting isn't used when
The default is |
|
AuthType | Amazon.DatabaseMigrationService.AuthTypeValue |
Gets and sets the property AuthType. The authentication type you use to access the MongoDB source endpoint.
When when set to |
|
DatabaseName | System.String |
Gets and sets the property DatabaseName. The database name on the MongoDB source endpoint. |
|
DocsToInvestigate | System.String |
Gets and sets the property DocsToInvestigate.
Indicates the number of documents to preview to determine the document organization.
Use this setting when
Must be a positive value greater than |
|
ExtractDocId | System.String |
Gets and sets the property ExtractDocId.
Specifies the document ID. Use this setting when
Default value is |
|
KmsKeyId | System.String |
Gets and sets the property KmsKeyId.
The KMS key identifier that is used to encrypt the content on the replication instance.
If you don't specify a value for the |
|
NestingLevel | Amazon.DatabaseMigrationService.NestingLevelValue |
Gets and sets the property NestingLevel. Specifies either document or table mode.
Default value is |
|
Password | System.String |
Gets and sets the property Password. The password for the user account you use to access the MongoDB source endpoint. |
|
Port | System.Int32 |
Gets and sets the property Port. The port value for the MongoDB source endpoint. |
|
ReplicateShardCollections | System.Boolean |
Gets and sets the property ReplicateShardCollections.
If
When this setting is
|
|
SecretsManagerAccessRoleArn | System.String |
Gets and sets the property SecretsManagerAccessRoleArn.
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted
entity and grants the required permissions to access the value in
You can specify one of two sets of values for these permissions. You can specify the
values for this setting and |
|
SecretsManagerSecretId | System.String |
Gets and sets the property SecretsManagerSecretId.
The full ARN, partial ARN, or friendly name of the |
|
ServerName | System.String |
Gets and sets the property ServerName. The name of the server on the MongoDB source endpoint. For MongoDB Atlas, provide the server name for any of the servers in the replication set. |
|
Username | System.String |
Gets and sets the property Username. The user name you use to access the MongoDB source endpoint. |
|
UseUpdateLookUp | System.Boolean |
Gets and sets the property UseUpdateLookUp.
If |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5