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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠