interface CfnDataMigrationProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.DMS.CfnDataMigrationProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdms#CfnDataMigrationProps |
Java | software.amazon.awscdk.services.dms.CfnDataMigrationProps |
Python | aws_cdk.aws_dms.CfnDataMigrationProps |
TypeScript | aws-cdk-lib » aws_dms » CfnDataMigrationProps |
Properties for defining a CfnDataMigration
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-datamigration.html
Example
// 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
Name | Type | Description |
---|---|---|
data | string | Specifies whether the data migration is full-load only, change data capture (CDC) only, or full-load and CDC. |
migration | string | The property describes an identifier for the migration project. |
service | string | The IAM role that the data migration uses to access AWS resources. |
data | string | The property describes an ARN of the data migration. |
data | string | The user-friendly name for the data migration. |
data | IResolvable | Data | Specifies CloudWatch settings and selection rules for the data migration. |
source | IResolvable | IResolvable | Source [] | Specifies information about the data migration's source data provider. |
tags? | Cfn [] | An array of key-value pairs to apply to this resource. |
dataMigrationType
Type:
string
Specifies whether the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.
migrationProjectIdentifier
Type:
string
The property describes an identifier for the migration project.
It is used for describing/deleting/modifying can be name/arn
serviceAccessRoleArn
Type:
string
The IAM role that the data migration uses to access AWS resources.
dataMigrationIdentifier?
Type:
string
(optional)
The property describes an ARN of the data migration.
dataMigrationName?
Type:
string
(optional)
The user-friendly name for the data migration.
dataMigrationSettings?
Type:
IResolvable
|
Data
(optional)
Specifies CloudWatch settings and selection rules for the data migration.
sourceDataSettings?
Type:
IResolvable
|
IResolvable
|
Source
[]
(optional)
Specifies information about the data migration's source data provider.
tags?
Type:
Cfn
[]
(optional)
An array of key-value pairs to apply to this resource.