Interface CfnEndpoint.IIbmDb2SettingsProperty
Provides information that defines an IBMDB2 endpoint.
Namespace: Amazon.CDK.AWS.DMS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IIbmDb2SettingsProperty
Syntax (vb)
Public Interface IIbmDb2SettingsProperty
Remarks
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 .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DMS;
var ibmDb2SettingsProperty = new IbmDb2SettingsProperty {
CurrentLsn = "currentLsn",
KeepCsvFiles = false,
LoadTimeout = 123,
MaxFileSize = 123,
MaxKBytesPerRead = 123,
SecretsManagerAccessRoleArn = "secretsManagerAccessRoleArn",
SecretsManagerSecretId = "secretsManagerSecretId",
SetDataCaptureChanges = false,
WriteBufferSize = 123
};
Synopsis
Properties
CurrentLsn | For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the replication to start. |
KeepCsvFiles | If true, AWS DMS saves any .csv files to the Db2 LUW target that were used to replicate data. DMS uses these files for analysis and troubleshooting. |
LoadTimeout | The amount of time (in milliseconds) before AWS DMS times out operations performed by DMS on the Db2 target. |
MaxFileSize | Specifies the maximum size (in KB) of .csv files used to transfer data to Db2 LUW. |
MaxKBytesPerRead | Maximum number of bytes per read, as a NUMBER value. |
SecretsManagerAccessRoleArn | 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 |
SecretsManagerSecretId | The full ARN, partial ARN, or display name of the |
SetDataCaptureChanges | Enables ongoing replication (CDC) as a BOOLEAN value. |
WriteBufferSize | The size (in KB) of the in-memory file write buffer used when generating .csv files on the local disk on the DMS replication instance. The default value is 1024 (1 MB). |
Properties
CurrentLsn
For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the replication to start.
virtual string CurrentLsn { get; }
Property Value
System.String
Remarks
KeepCsvFiles
If true, AWS DMS saves any .csv files to the Db2 LUW target that were used to replicate data. DMS uses these files for analysis and troubleshooting.
virtual object KeepCsvFiles { get; }
Property Value
System.Object
Remarks
LoadTimeout
The amount of time (in milliseconds) before AWS DMS times out operations performed by DMS on the Db2 target.
virtual Nullable<double> LoadTimeout { get; }
Property Value
System.Nullable<System.Double>
Remarks
The default value is 1200 (20 minutes).
MaxFileSize
Specifies the maximum size (in KB) of .csv files used to transfer data to Db2 LUW.
virtual Nullable<double> MaxFileSize { get; }
Property Value
System.Nullable<System.Double>
Remarks
MaxKBytesPerRead
Maximum number of bytes per read, as a NUMBER value.
virtual Nullable<double> MaxKBytesPerRead { get; }
Property Value
System.Nullable<System.Double>
Remarks
SecretsManagerAccessRoleArn
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
.
virtual string SecretsManagerAccessRoleArn { get; }
Property Value
System.String
Remarks
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 for UserName
, Password
, ServerName
, and Port
. You can't specify both.
For more information on creating this SecretsManagerSecret
, the corresponding SecretsManagerAccessRoleArn
, and the SecretsManagerSecretId
that is required to access it, see Using secrets to access AWS Database Migration Service resources in the AWS Database Migration Service User Guide .
SecretsManagerSecretId
The full ARN, partial ARN, or display name of the SecretsManagerSecret
that contains the IBMDB2 endpoint connection details.
virtual string SecretsManagerSecretId { get; }
Property Value
System.String
Remarks
SetDataCaptureChanges
Enables ongoing replication (CDC) as a BOOLEAN value.
virtual object SetDataCaptureChanges { get; }
Property Value
System.Object
Remarks
WriteBufferSize
The size (in KB) of the in-memory file write buffer used when generating .csv files on the local disk on the DMS replication instance. The default value is 1024 (1 MB).
virtual Nullable<double> WriteBufferSize { get; }
Property Value
System.Nullable<System.Double>