Skip to content
v2.278.0

DataMigrationSettingsProperty Struct ​

Options for configuring a data migration, including whether to enable CloudWatch logs, and the selection rules to use to include or exclude database objects from the migration.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dms as dms } from 'aws-cdk-lib';
const dataMigrationSettingsProperty: dms.CfnDataMigration.DataMigrationSettingsProperty = {
  cloudwatchLogsEnabled: false,
  numberOfJobs: 123,
  selectionRules: 'selectionRules',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_dms as dms

data_migration_settings_property = dms.CfnDataMigration.DataMigrationSettingsProperty(
    cloudwatch_logs_enabled=False,
    number_of_jobs=123,
    selection_rules="selectionRules"
)
java
// 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.*;

DataMigrationSettingsProperty dataMigrationSettingsProperty = DataMigrationSettingsProperty.builder()
        .cloudwatchLogsEnabled(false)
        .numberOfJobs(123)
        .selectionRules("selectionRules")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 dataMigrationSettingsProperty = new DataMigrationSettingsProperty {
    CloudwatchLogsEnabled = false,
    NumberOfJobs = 123,
    SelectionRules = "selectionRules"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

dataMigrationSettingsProperty := &DataMigrationSettingsProperty{
	CloudwatchLogsEnabled: jsii.Boolean(false),
	NumberOfJobs: jsii.Number(123),
	SelectionRules: jsii.String("selectionRules"),
}

Properties ​

cloudwatchLogsEnabledoptionalboolean | IResolvablecloudwatch_logs_enabledoptionaltyping.Union[bool, IResolvable]cloudwatchLogsEnabledoptionalBooleanCloudwatchLogsEnabledoptionalboolCloudwatchLogsEnabledoptionalinterface{} #
Whether to enable CloudWatch logging for the data migration.
numberOfJobsoptionalnumbernumber_of_jobsoptionalint | floatnumberOfJobsoptionalNumberNumberOfJobsoptionaldoubleNumberOfJobsoptional*float64 #
The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.
selectionRulesoptionalstringselection_rulesoptionalstrselectionRulesoptionalStringSelectionRulesoptionalstringSelectionRulesoptional*string #
A JSON-formatted string that defines what objects to include and exclude from the migration.