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
EXPERTO
preguntada hace 2 años582 visualizaciones
1 Respuesta
0

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

AWS
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas