Endpoint
Source:
src/AWS/DMS/Endpoint.ts
An AWS Database Migration Service (DMS) endpoint — the source or target database of a replication. Endpoints are metadata-only (they store connection information, not data), so they are free and fast to create.
Creating Endpoints
Section titled “Creating Endpoints”MySQL Source Endpoint
const source = yield* Endpoint("Source", { endpointType: "source", engineName: "mysql", serverName: "source-db.example.com", port: 3306, username: "admin", password: Redacted.make("super-secret"), databaseName: "app",});S3 Target Endpoint
const target = yield* Endpoint("Target", { endpointType: "target", engineName: "s3", serviceAccessRoleArn: role.roleArn, s3Settings: { BucketName: bucket.bucketName, ServiceAccessRoleArn: role.roleArn, },});