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
已提問 2 年前檢視次數 801 次
2 個答案
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
已回答 2 年前
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
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南