Open
Description
Describe the feature
- The
AuroraClusterInstance
class is private. Thus, I can't find it in the node tree. - The static factory methods returns
IClusterInstance
, which is not helpful and only has thebind
method. - I can't search for the
CfnDBInstance
instance because every construct ID value is aResource
, and every other prop is a token.
Use Case
Sometimes, I need to get at instance-specific values, such as instance ID, or instance endpoint, e.g. for monitoring purposes.
Proposed Solution
- Make the
AuroraClusterInstance
class public and make it discoverable on the cluster. - Create the ability to pass the concrete
AuroraClusterInstance
instance that implements theIClusterInstance
as the cluster reader and writer.
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
CDK version used
latest
Environment details (OS name and version, etc.)
macOS