CDK: custom endpoints for Aurora cluster?

0

Does CDK support the creation and management of custom endpoints in Aurora/RDS?

It's simple enough to (for example) group readers together, by region, under specialized endpoints using awscli or SDK calls, but the only mention I see in CDK seems to be a read-only representation of an existing endpoint.

If the answer is "no, CDK doesn't support this," then what's the guidance in this type of scenario, generally speaking? When CFN/Terraform support features that are, at least for now, not present in CDK, should I try to handle this resource outside the IAC framework (e.g. by using SDK calls after a stack has finished executing)?

Incidentally, CDK feels (even more) nascent when there isn't a tag for me to assign to this question. :|

bencovi
preguntada hace 2 años801 visualizaciones
2 Respuestas
0

Unfortunately, The answer is "no. RDS does not support it. "

You can not costomize endpoints for RDS(include aorora) in CFN, terraform ...

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html

Shawn
respondido hace 2 años
0

You can use custom resources (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources.html) to provide functionality which is not provided via Cloudformation/CDK at the moment. https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_core.CustomResource.html

AWS
Marco
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