interface MongoDbSettingsProperty
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.DMS.CfnDataProvider.MongoDbSettingsProperty | 
  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdms#CfnDataProvider_MongoDbSettingsProperty | 
  Java | software.amazon.awscdk.services.dms.CfnDataProvider.MongoDbSettingsProperty | 
  Python | aws_cdk.aws_dms.CfnDataProvider.MongoDbSettingsProperty | 
  TypeScript  | aws-cdk-lib » aws_dms » CfnDataProvider » MongoDbSettingsProperty | 
Provides information that defines a MongoDB endpoint.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dms as dms } from 'aws-cdk-lib';
const mongoDbSettingsProperty: dms.CfnDataProvider.MongoDbSettingsProperty = {
  port: 123,
  serverName: 'serverName',
  // the properties below are optional
  authMechanism: 'authMechanism',
  authSource: 'authSource',
  authType: 'authType',
  certificateArn: 'certificateArn',
  databaseName: 'databaseName',
  sslMode: 'sslMode',
};
Properties
| Name | Type | Description | 
|---|---|---|
| port | number | The port value for the MongoDB source endpoint. | 
| server | string | The name of the server on the MongoDB source endpoint. | 
| auth | string | The authentication mechanism you use to access the MongoDB source endpoint. | 
| auth | string | The MongoDB database name. This setting isn't used when AuthType is set to "no" . | 
| auth | string | The authentication type you use to access the MongoDB source endpoint. | 
| certificate | string | |
| database | string | The database name on the MongoDB source endpoint. | 
| ssl | string | 
port
Type:
number
The port value for the MongoDB source endpoint.
serverName
Type:
string
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.
authMechanism?
Type:
string
(optional)
The authentication mechanism you use to access the MongoDB source endpoint.
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?
Type:
string
(optional)
The MongoDB database name. This setting isn't used when AuthType is set to "no" .
The default is "admin" .
authType?
Type:
string
(optional)
The authentication type you use to access the MongoDB source endpoint.
When when set to "no" , user name and password parameters are not used and can be empty.
certificateArn?
Type:
string
(optional)
databaseName?
Type:
string
(optional)
The database name on the MongoDB source endpoint.
sslMode?
Type:
string
(optional)

 .NET
 Go
 Java
 Python
 TypeScript