aws dms modify-migration-project
Modifies the specified migration project using the provided parameters. AWS CLI reference
1 example 8 options Its page in the AWS CLI reference
Examples
To modify a migration project
The following modify-migration-project example updates the source data provider and description of a migration project.
aws dms modify-migration-project --migration-project-identifier arn:aws:dms:us-west-2:123456789012:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRS --description "Updated migration project description" --source-data-provider-descriptors DataProviderIdentifier=arn:aws:dms:us-west-2:123456789012:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSIdentify--migration-project-identifierThe identifier of the migration project.--descriptionA user-friendly description of the migration project.--source-data-provider-descriptorsInformation about the source data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.Its output, shortened
{
"MigrationProject": {
"MigrationProjectName": "example-migration-project",
"MigrationProjectArn": "arn:aws:dms:us-west-2:123456789012:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRS",
"MigrationProjectCreationTime": "2026-01-09T12:30:00.000000+00:00",
"SourceDataProviderDescriptors": [
{
"SecretsManagerSecretId": "arn:aws:secretsmanager:us-west-2:123456789012:secret:example-source-secret-A1B2C3",
"SecretsManagerAccessRoleArn": "arn:aws:iam::123456789012:role/example-secrets-manager-role",
"DataProviderName": "example-data-provider",
"DataProviderArn": "arn:aws:dms:us-west-2:123456789012:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRS"
}
],
"TargetDataProviderDescriptors": [
{
"SecretsManagerSecretId": "arn:aws:secretsmanager:us-west-2:123456789012:secret:example-target-secret-A1B2C3",
"SecretsManagerAccessRoleArn": "arn:aws:iam::123456789012:role/example-secrets-manager-role",
"DataProviderName": "example-data-provider",
"DataProviderArn": "arn:aws:dms:us-west-2:123456789012:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRS"
}
],
"InstanceProfileArn": "arn:aws:dms:us-west-2:123456789012:instance-profile:EXAMPLEABCDEFGHIJKLMNOPQRS",
"InstanceProfileName": "example-instance-profile",
"TransformationRules": "{\"rules\":[{\"rule-type\":\"transformation\",\"rule-id\":\"1\",\"rule-name\":\"1\",\"rule-target\":\"schema\",\"rule-action\":\"rename\",\"object-locator\":{\"schema-name\":\"ExampleSchema\"},\"value\":\"TargetSchema\"}]}",
"Description": "Updated migration project description",
"SchemaConversionApplicationAttributes": {
"S3BucketPath": "s3://amzn-s3-demo-bucket",
"S3BucketRoleArn": "arn:aws:iam::123456789012:role/example-s3-access-role"
}
}
… 1 more lineFor more information, see Working with migration projects in the AWS Database Migration Service User Guide.
Options
--descriptionA user-friendly description of the migration project.--instance-profile-identifierThe name or Amazon Resource Name (ARN) for the instance profile.--migration-project-identifierThe identifier of the migration project.--migration-project-nameA user-friendly name for the migration project.--schema-conversion-application-attributesThe schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.--source-data-provider-descriptorsInformation about the source data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.--target-data-provider-descriptorsInformation about the target data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.--transformation-rulesA JSON string that specifies the transformation rules for the migration project.