1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
Manage to make it works with this code:
tmp = []
for sub in vpc.private_subnets:
tmp.append(sub.subnet_id)
rep_sub = dms.CfnReplicationSubnetGroup(self, "rep_sub",
replication_subnet_group_description="desc rep_sub",
subnet_ids=tmp
)
rep = dms.CfnReplicationInstance(self, "rep-instance",
replication_instance_class="dms.t2.micro",
replication_subnet_group_identifier=rep_sub.ref,
publicly_accessible=False
)
It creates the Subnet group and the association with the replication instance. The replication instance is then placed in the VPC where the subnets belongs.
回答済み 4年前