Interface CfnEndpoint.DocDbSettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEndpoint.DocDbSettingsProperty.Jsii$Proxy
- Enclosing class:
CfnEndpoint
This information includes the output format of records applied to the endpoint and details of transaction and control table data information. For more information about other available settings, see Using extra connections attributes with Amazon DocumentDB as a source and Using Amazon DocumentDB as a target for AWS Database Migration Service in the AWS Database Migration Service User Guide .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.dms.*; DocDbSettingsProperty docDbSettingsProperty = DocDbSettingsProperty.builder() .docsToInvestigate(123) .extractDocId(false) .nestingLevel("nestingLevel") .secretsManagerAccessRoleArn("secretsManagerAccessRoleArn") .secretsManagerSecretId("secretsManagerSecretId") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnEndpoint.DocDbSettingsProperty
static final class
An implementation forCfnEndpoint.DocDbSettingsProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Number
Indicates the number of documents to preview to determine the document organization.default Object
Specifies the document ID.default String
Specifies either document or table mode.default String
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 inSecretsManagerSecret
.default String
The full ARN, partial ARN, or display name of theSecretsManagerSecret
that contains the DocumentDB endpoint connection details.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDocsToInvestigate
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 is1000
.- See Also:
-
getExtractDocId
Specifies the document ID. Use this setting whenNestingLevel
is set to"none"
.Default value is
"false"
.- See Also:
-
getNestingLevel
Specifies either document or table mode.Default value is
"none"
. Specify"none"
to use document mode. Specify"one"
to use table mode.- See Also:
-
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 inSecretsManagerSecret
.The role must allow the
iam:PassRole
action.SecretsManagerSecret
has the value of the AWS Secrets Manager secret that allows access to the DocumentDB 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 .- See Also:
-
getSecretsManagerSecretId
The full ARN, partial ARN, or display name of theSecretsManagerSecret
that contains the DocumentDB endpoint connection details.- See Also:
-
builder
-