# CfnDataMigrationProps

Properties for defining a `CfnDataMigration`.

Extends: CfnDataMigrationProps
Used as props by: CfnDataMigration

- Source: Generated code
- Type last changed: v2.275.0 · 26 Oct 2026

## 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 cfnDataMigrationProps: dms.CfnDataMigrationProps = {
  dataMigrationType: 'dataMigrationType',
  migrationProjectIdentifier: 'migrationProjectIdentifier',
  serviceAccessRoleArn: 'serviceAccessRoleArn',

  // the properties below are optional
  dataMigrationIdentifier: 'dataMigrationIdentifier',
  dataMigrationName: 'dataMigrationName',
  dataMigrationSettings: {
    cloudwatchLogsEnabled: false,
    numberOfJobs: 123,
    selectionRules: 'selectionRules',
  },
  sourceDataSettings: [{
    cdcStartPosition: 'cdcStartPosition',
    cdcStartTime: 'cdcStartTime',
    cdcStopTime: 'cdcStopTime',
    slotName: 'slotName',
  }],
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `dataMigrationIdentifier`: string — this property has been deprecated

  Identity is managed via the resource ARN (primaryIdentifier) and Name (additionalIdentifier).

- `dataMigrationName`: string — The user-friendly name for the data migration.

- `dataMigrationSettings`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataMigration.DataMigrationSettingsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_dms.CfnDataMigration.DataMigrationSettingsProperty.html) — Specifies CloudWatch settings and selection rules for the data migration.

- `dataMigrationType`: string (required) — Specifies whether the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.

- `migrationProjectIdentifier`: string (required) — The property describes an identifier for the migration project.

  It is used for describing/deleting/modifying can be name/arn

- `serviceAccessRoleArn`: string (required) — The IAM role that the data migration uses to access AWS resources.

- `sourceDataSettings`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataMigration.SourceDataSettingsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_dms.CfnDataMigration.SourceDataSettingsProperty.html)[] — Specifies information about the data migration's source data provider.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — An array of key-value pairs to apply to this resource.
