public static final class CfnEndpoint.MongoDbSettingsProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnEndpoint.MongoDbSettingsProperty
CfnEndpoint.MongoDbSettingsProperty
CfnEndpoint.MongoDbSettingsProperty.Builder, CfnEndpoint.MongoDbSettingsProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
java.lang.String |
getAuthMechanism()
The authentication mechanism you use to access the MongoDB source endpoint.
|
java.lang.String |
getAuthSource()
The MongoDB database name.
|
java.lang.String |
getAuthType()
The authentication type you use to access the MongoDB source endpoint.
|
java.lang.String |
getDatabaseName()
The database name on the MongoDB source endpoint.
|
java.lang.String |
getDocsToInvestigate()
Indicates the number of documents to preview to determine the document organization.
|
java.lang.String |
getExtractDocId()
Specifies the document ID.
|
java.lang.String |
getNestingLevel()
Specifies either document or table mode.
|
java.lang.String |
getPassword()
The password for the user account you use to access the MongoDB source endpoint.
|
java.lang.Number |
getPort()
The port value for the MongoDB source endpoint.
|
java.lang.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` .
|
java.lang.String |
getSecretsManagerSecretId()
The full ARN, partial ARN, or display name of the `SecretsManagerSecret` that contains the MongoDB endpoint connection details.
|
java.lang.String |
getServerName()
The name of the server on the MongoDB source endpoint.
|
java.lang.String |
getUsername()
The user name you use to access the MongoDB source endpoint.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.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.MongoDbSettingsProperty
public final java.lang.String getAuthSource()
CfnEndpoint.MongoDbSettingsProperty
The default is "admin"
.
getAuthSource
in interface CfnEndpoint.MongoDbSettingsProperty
public final java.lang.String getAuthType()
CfnEndpoint.MongoDbSettingsProperty
When set to "no"
, user name and password parameters are not used and can be empty.
getAuthType
in interface CfnEndpoint.MongoDbSettingsProperty
public final java.lang.String getDatabaseName()
CfnEndpoint.MongoDbSettingsProperty
getDatabaseName
in interface CfnEndpoint.MongoDbSettingsProperty
public final java.lang.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.MongoDbSettingsProperty
public final java.lang.String getExtractDocId()
CfnEndpoint.MongoDbSettingsProperty
Default value is "false"
.
getExtractDocId
in interface CfnEndpoint.MongoDbSettingsProperty
public final java.lang.String getNestingLevel()
CfnEndpoint.MongoDbSettingsProperty
Default value is "none"
. Specify "none"
to use document mode. Specify "one"
to use table mode.
getNestingLevel
in interface CfnEndpoint.MongoDbSettingsProperty
public final java.lang.String getPassword()
CfnEndpoint.MongoDbSettingsProperty
getPassword
in interface CfnEndpoint.MongoDbSettingsProperty
public final java.lang.Number getPort()
CfnEndpoint.MongoDbSettingsProperty
getPort
in interface CfnEndpoint.MongoDbSettingsProperty
public final java.lang.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 theSecretsManagerSecretId
that 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.MongoDbSettingsProperty
public final java.lang.String getSecretsManagerSecretId()
CfnEndpoint.MongoDbSettingsProperty
getSecretsManagerSecretId
in interface CfnEndpoint.MongoDbSettingsProperty
public final java.lang.String getServerName()
CfnEndpoint.MongoDbSettingsProperty
getServerName
in interface CfnEndpoint.MongoDbSettingsProperty
public final java.lang.String getUsername()
CfnEndpoint.MongoDbSettingsProperty
getUsername
in interface CfnEndpoint.MongoDbSettingsProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()