interface MongoDbSettingsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.DMS.Mixins.CfnDataProviderPropsMixin.MongoDbSettingsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsdms/mixins#CfnDataProviderPropsMixin_MongoDbSettingsProperty |
Java | software.amazon.awscdk.mixins.preview.services.dms.mixins.CfnDataProviderPropsMixin.MongoDbSettingsProperty |
Python | aws_cdk.mixins_preview.aws_dms.mixins.CfnDataProviderPropsMixin.MongoDbSettingsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_dms » mixins » CfnDataProviderPropsMixin » 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 { mixins as dms_mixins } from '@aws-cdk/mixins-preview/aws-dms';
const mongoDbSettingsProperty: dms_mixins.CfnDataProviderPropsMixin.MongoDbSettingsProperty = {
authMechanism: 'authMechanism',
authSource: 'authSource',
authType: 'authType',
certificateArn: 'certificateArn',
databaseName: 'databaseName',
port: 123,
serverName: 'serverName',
sslMode: 'sslMode',
};
Properties
| Name | Type | Description |
|---|---|---|
| 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. |
| port? | number | The port value for the MongoDB source endpoint. |
| server | string | The name of the server on the MongoDB source endpoint. |
| ssl | string |
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.
port?
Type:
number
(optional)
The port value for the MongoDB source endpoint.
serverName?
Type:
string
(optional)
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.
sslMode?
Type:
string
(optional)

.NET
Go
Java
Python
TypeScript