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
asked 2 years ago787 views
2 Answers
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
answered 2 years ago
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
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions