Interface CfnEndpoint.IbmDb2SettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEndpoint.IbmDb2SettingsProperty.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 Extra connection attributes when using Db2 LUW as a source for AWS DMS 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.*; IbmDb2SettingsProperty ibmDb2SettingsProperty = IbmDb2SettingsProperty.builder() .currentLsn("currentLsn") .maxKBytesPerRead(123) .secretsManagerAccessRoleArn("secretsManagerAccessRoleArn") .secretsManagerSecretId("secretsManagerSecretId") .setDataCaptureChanges(false) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnEndpoint.IbmDb2SettingsProperty
static final class
An implementation forCfnEndpoint.IbmDb2SettingsProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the replication to start.default Number
Maximum number of bytes per read, as a NUMBER value.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 IBMDB2 endpoint connection details.default Object
Enables ongoing replication (CDC) as a BOOLEAN value.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCurrentLsn
For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the replication to start. -
getMaxKBytesPerRead
Maximum number of bytes per read, as a NUMBER value.The default is 64 KB.
-
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 ofthe AWS Secrets Manager secret that allows access to the Db2 LUW 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 . -
getSecretsManagerSecretId
The full ARN, partial ARN, or display name of theSecretsManagerSecret
that contains the IBMDB2 endpoint connection details. -
getSetDataCaptureChanges
Enables ongoing replication (CDC) as a BOOLEAN value.The default is true.
-
builder
-