@Stability(value=Stable) @Internal public static final class CfnEndpoint.MongoDbSettingsProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnEndpoint.MongoDbSettingsProperty
CfnEndpoint.MongoDbSettingsPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnEndpoint.MongoDbSettingsProperty.Builder, CfnEndpoint.MongoDbSettingsProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnEndpoint.MongoDbSettingsProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnEndpoint.DocDbSettingsProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getAuthMechanism()
The authentication mechanism you use to access the MongoDB source endpoint.
|
String |
getAuthSource()
The MongoDB database name.
|
String |
getAuthType()
The authentication type you use to access the MongoDB source endpoint.
|
String |
getDatabaseName()
The database name on the MongoDB source endpoint.
|
String |
getDocsToInvestigate()
Indicates the number of documents to preview to determine the document organization.
|
String |
getExtractDocId()
Specifies the document ID.
|
String |
getNestingLevel()
Specifies either document or table mode.
|
String |
getPassword()
The password for the user account you use to access the MongoDB source endpoint.
|
Number |
getPort()
The port value for the MongoDB source endpoint.
|
String |
getSecretsManagerAccessRoleArn()
The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the trusted entity and grants the required permissions to access the value in `SecretsManagerSecret` .
|
String |
getSecretsManagerSecretId()
The full ARN, partial ARN, or display name of the `SecretsManagerSecret` that contains the MongoDB endpoint connection details.
|
String |
getServerName()
The name of the server on the MongoDB source endpoint.
|
String |
getUsername()
The user name you use to access the MongoDB source endpoint.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnEndpoint.MongoDbSettingsProperty.Builder builder)
CfnEndpoint.DocDbSettingsProperty.Builder.public final String getAuthMechanism()
CfnEndpoint.MongoDbSettingsProperty
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" .
getAuthMechanism in interface CfnEndpoint.MongoDbSettingsPropertypublic final String getAuthSource()
CfnEndpoint.MongoDbSettingsProperty
The default is "admin" .
getAuthSource in interface CfnEndpoint.MongoDbSettingsPropertypublic final String getAuthType()
CfnEndpoint.MongoDbSettingsProperty
When set to "no" , user name and password parameters are not used and can be empty.
getAuthType in interface CfnEndpoint.MongoDbSettingsPropertypublic final String getDatabaseName()
CfnEndpoint.MongoDbSettingsPropertygetDatabaseName in interface CfnEndpoint.MongoDbSettingsPropertypublic final String getDocsToInvestigate()
CfnEndpoint.MongoDbSettingsProperty
Use this setting when NestingLevel is set to "one" .
Must be a positive value greater than 0 . Default value is 1000 .
getDocsToInvestigate in interface CfnEndpoint.MongoDbSettingsPropertypublic final String getExtractDocId()
CfnEndpoint.MongoDbSettingsProperty
Default value is "false" .
getExtractDocId in interface CfnEndpoint.MongoDbSettingsPropertypublic final String getNestingLevel()
CfnEndpoint.MongoDbSettingsProperty
Default value is "none" . Specify "none" to use document mode. Specify "one" to use table mode.
getNestingLevel in interface CfnEndpoint.MongoDbSettingsPropertypublic final String getPassword()
CfnEndpoint.MongoDbSettingsPropertygetPassword in interface CfnEndpoint.MongoDbSettingsPropertypublic final Number getPort()
CfnEndpoint.MongoDbSettingsPropertygetPort in interface CfnEndpoint.MongoDbSettingsPropertypublic final String getSecretsManagerAccessRoleArn()
CfnEndpoint.MongoDbSettingsProperty
The role must allow the iam:PassRole action. SecretsManagerSecret has the value of the AWS Secrets Manager secret that allows access to the MongoDB endpoint.
You can specify one of two sets of values for these permissions. You can specify the values for this setting and
SecretsManagerSecretId. Or you can specify clear-text values forUserName,Password,ServerName, andPort. You can't specify both.For more information on creating this
SecretsManagerSecret, the correspondingSecretsManagerAccessRoleArn, and theSecretsManagerSecretIdthat is required to access it, see Using secrets to access AWS Database Migration Service resources in the AWS Database Migration Service User Guide .
getSecretsManagerAccessRoleArn in interface CfnEndpoint.MongoDbSettingsPropertypublic final String getSecretsManagerSecretId()
CfnEndpoint.MongoDbSettingsPropertygetSecretsManagerSecretId in interface CfnEndpoint.MongoDbSettingsPropertypublic final String getServerName()
CfnEndpoint.MongoDbSettingsPropertygetServerName in interface CfnEndpoint.MongoDbSettingsPropertypublic final String getUsername()
CfnEndpoint.MongoDbSettingsPropertygetUsername in interface CfnEndpoint.MongoDbSettingsProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.