MongoDbSettings
public struct MongoDbSettings : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
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”.
Declaration
Swift
public let authMechanism: AuthMechanismValue?
-
The MongoDB database name. This setting isn’t used when AuthType is set to “no”. The default is “admin”.
Declaration
Swift
public let authSource: String?
-
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.
Declaration
Swift
public let authType: AuthTypeValue?
-
The database name on the MongoDB source endpoint.
Declaration
Swift
public let databaseName: String?
-
Indicates the number of documents to preview to determine the document organization. Use this setting when NestingLevel is set to “one”. Must be a positive value greater than 0. Default value is 1000.
Declaration
Swift
public let docsToInvestigate: String?
-
Specifies the document ID. Use this setting when NestingLevel is set to “none”. Default value is “false”.
Declaration
Swift
public let extractDocId: String?
-
The AWS KMS key identifier that is used to encrypt the content on the replication instance. If you don’t specify a value for the KmsKeyId parameter, then AWS DMS uses your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS Region.
Declaration
Swift
public let kmsKeyId: String?
-
Specifies either document or table mode. Default value is “none”. Specify “none” to use document mode. Specify “one” to use table mode.
Declaration
Swift
public let nestingLevel: NestingLevelValue?
-
The password for the user account you use to access the MongoDB source endpoint.
Declaration
Swift
public let password: String?
-
The port value for the MongoDB source endpoint.
Declaration
Swift
public let port: Int?
-
The name of the server on the MongoDB source endpoint.
Declaration
Swift
public let serverName: String?
-
The user name you use to access the MongoDB source endpoint.
Declaration
Swift
public let username: String?
-
init(authMechanism:authSource:authType:databaseName:docsToInvestigate:extractDocId:kmsKeyId:nestingLevel:password:port:serverName:username:)
Undocumented
Declaration
Swift
public init(authMechanism: AuthMechanismValue? = nil, authSource: String? = nil, authType: AuthTypeValue? = nil, databaseName: String? = nil, docsToInvestigate: String? = nil, extractDocId: String? = nil, kmsKeyId: String? = nil, nestingLevel: NestingLevelValue? = nil, password: String? = nil, port: Int? = nil, serverName: String? = nil, username: String? = nil)