Skip to content

DMS

CloudMock emulates AWS Database Migration Service (DMS), supporting replication instances, endpoints, replication tasks, event subscriptions, and connection testing.

OperationStatusNotes
CreateReplicationInstanceSupportedCreates a replication instance
DescribeReplicationInstancesSupportedLists replication instances
DeleteReplicationInstanceSupportedDeletes a replication instance
CreateEndpointSupportedCreates a source or target endpoint
DescribeEndpointsSupportedLists endpoints
DeleteEndpointSupportedDeletes an endpoint
CreateReplicationTaskSupportedCreates a replication task
DescribeReplicationTasksSupportedLists replication tasks
StartReplicationTaskSupportedStarts a replication task
StopReplicationTaskSupportedStops a replication task
DeleteReplicationTaskSupportedDeletes a replication task
CreateEventSubscriptionSupportedCreates an event subscription
DescribeEventSubscriptionsSupportedLists event subscriptions
DeleteEventSubscriptionSupportedDeletes an event subscription
TestConnectionSupportedTests endpoint connectivity (stub)
DescribeConnectionsSupportedLists connection test results
import { DatabaseMigrationServiceClient, CreateReplicationInstanceCommand } from '@aws-sdk/client-database-migration-service';
const client = new DatabaseMigrationServiceClient({
endpoint: 'http://localhost:4566',
region: 'us-east-1',
credentials: { accessKeyId: 'test', secretAccessKey: 'test' },
});
await client.send(new CreateReplicationInstanceCommand({
ReplicationInstanceIdentifier: 'my-repl-instance',
ReplicationInstanceClass: 'dms.t3.medium',
}));
import boto3
client = boto3.client('dms',
endpoint_url='http://localhost:4566',
region_name='us-east-1',
aws_access_key_id='test',
aws_secret_access_key='test')
client.create_replication_instance(
ReplicationInstanceIdentifier='my-repl-instance',
ReplicationInstanceClass='dms.t3.medium')
cloudmock.yml
services:
dms:
enabled: true
  • No actual data migration occurs
  • Connection tests return stub success results
  • Replication task status transitions are simulated