AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.DatabaseMigrationService.Model.MongoDbSettings

Namespace: Amazon.DatabaseMigrationService.Model
Assembly: AWSSDK.DatabaseMigrationService.dll
Version: 3.x.y.z

Syntax

C#
public class MongoDbSettings

The MongoDbSettings type exposes the following members

Constructors

NameDescription
Public Method MongoDbSettings()

Properties

NameTypeDescription
Public Property AuthMechanism Amazon.DatabaseMigrationService.AuthMechanismValue

Gets and sets the property AuthMechanism.

The authentication mechanism you use to access the MongoDB source endpoint.

Valid values: DEFAULT, MONGODB_CR, SCRAM_SHA_1

DEFAULT – For MongoDB version 2.x, use MONGODB_CR. For MongoDB version 3.x, use SCRAM_SHA_1. This attribute is not used when authType=No.

Public Property AuthSource System.String

Gets and sets the property AuthSource.

The MongoDB database name. This attribute is not used when authType=NO.

The default is admin.

Public Property AuthType Amazon.DatabaseMigrationService.AuthTypeValue

Gets and sets the property AuthType.

The authentication type you use to access the MongoDB source endpoint.

Valid values: NO, PASSWORD

When NO is selected, user name and password parameters are not used and can be empty.

Public Property DatabaseName System.String

Gets and sets the property DatabaseName.

The database name on the MongoDB source endpoint.

Public Property DocsToInvestigate System.String

Gets and sets the property DocsToInvestigate.

Indicates the number of documents to preview to determine the document organization. Use this attribute when NestingLevel is set to ONE.

Must be a positive value greater than 0. Default value is 1000.

Public Property ExtractDocId System.String

Gets and sets the property ExtractDocId.

Specifies the document ID. Use this attribute when NestingLevel is set to NONE.

Default value is false.

Public Property NestingLevel Amazon.DatabaseMigrationService.NestingLevelValue

Gets and sets the property NestingLevel.

Specifies either document or table mode.

Valid values: NONE, ONE

Default value is NONE. Specify NONE to use document mode. Specify ONE to use table mode.

Public Property Password System.String

Gets and sets the property Password.

The password for the user account you use to access the MongoDB source endpoint.

Public Property Port System.Int32

Gets and sets the property Port.

The port value for the MongoDB source endpoint.

Public Property ServerName System.String

Gets and sets the property ServerName.

The name of the server on the MongoDB source endpoint.

Public Property Username System.String

Gets and sets the property Username.

The user name you use to access the MongoDB source endpoint.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms