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
EXPERTE
gefragt vor 2 Jahren582 Aufrufe
1 Antwort
0

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

AWS
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen