in lib/dms-replication.ts [26:38]
constructor(scope: cdk.Construct, id: string, props: DMSProps) {
super(scope, id);
props = getPropsWithDefaults(props);
const subnetGrp = this.createSubnetGroup(props);
this.region = props.region;
const replicationInstance = this.createReplicationInstance(props);
replicationInstance.addDependsOn(subnetGrp);
this.instance = replicationInstance;
this.role = this.createRoleForSecretsManager()
}