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
feita há 2 anos801 visualizações
2 Respostas
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 há 2 anos
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 há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas