Interface CfnDataProvider.IMongoDbSettingsProperty
Provides information that defines a MongoDB endpoint.
Namespace: Amazon.CDK.AWS.DMS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IMongoDbSettingsProperty
Syntax (vb)
Public Interface IMongoDbSettingsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DMS;
var mongoDbSettingsProperty = new MongoDbSettingsProperty {
Port = 123,
ServerName = "serverName",
// the properties below are optional
AuthMechanism = "authMechanism",
AuthSource = "authSource",
AuthType = "authType",
CertificateArn = "certificateArn",
DatabaseName = "databaseName",
SslMode = "sslMode"
};
Synopsis
Properties
Auth |
The authentication mechanism you use to access the MongoDB source endpoint. |
Auth |
The MongoDB database name. This setting isn't used when |
Auth |
The authentication type you use to access the MongoDB source endpoint. |
Certificate |
|
Database |
The database name on the MongoDB source endpoint. |
Port | The port value for the MongoDB source endpoint. |
Server |
The name of the server on the MongoDB source endpoint. |
Ssl |
Properties
AuthMechanism
The authentication mechanism you use to access the MongoDB source endpoint.
virtual string AuthMechanism { get; }
Property Value
System.
Remarks
For the default value, in MongoDB version 2.x, "default"
is "mongodb_cr"
. For MongoDB version 3.x or later, "default"
is "scram_sha_1"
. This setting isn't used when AuthType
is set to "no"
.
AuthSource
The MongoDB database name. This setting isn't used when AuthType
is set to "no"
.
virtual string AuthSource { get; }
Property Value
System.
Remarks
AuthType
The authentication type you use to access the MongoDB source endpoint.
virtual string AuthType { get; }
Property Value
System.
Remarks
When when set to "no"
, user name and password parameters are not used and can be empty.
CertificateArn
virtual string CertificateArn { get; }
Property Value
System.
Remarks
DatabaseName
The database name on the MongoDB source endpoint.
virtual string DatabaseName { get; }
Property Value
System.
Remarks
Port
The port value for the MongoDB source endpoint.
double Port { get; }
Property Value
System.
Remarks
ServerName
The name of the server on the MongoDB source endpoint.
string ServerName { get; }
Property Value
System.
Remarks
For MongoDB Atlas, provide the server name for any of the servers in the replication set.
SslMode
virtual string SslMode { get; }
Property Value
System.