CDK: How to create an encrypted Aurora MySQL-compatible cluster using an un-encrypted snapshot

0

Using AWS Console, the process to create an encrypted Aurora MySQL-compatible cluster using an un-encrypted snapshot is fairly simple.

You can't convert an unencrypted DB cluster to an encrypted one. However, you can restore an unencrypted snapshot to an encrypted Aurora DB cluster. To do this, specify a KMS key when you restore from the unencrypted snapshot.

However, when using CDK, there is no parameter to provide an encryption key for the class rds.DatabaseClusterFromSnapshot

What is the CDK based solution for this scenario?

profile pictureAWS
专家
已提问 2 年前582 查看次数
1 回答
0

This is currently not supported, but I verified that this feature is currently being looked into here.

AWS
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则