Skip to content

(rds): Make Aurora cluster instance class publicly available #34103

Open
@moltar

Description

@moltar

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 the bind method.
  • I can't search for the CfnDBInstance instance because every construct ID value is a Resource, 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

  1. Make the AuroraClusterInstance class public and make it discoverable on the cluster.
  2. Create the ability to pass the concrete AuroraClusterInstance instance that implements the IClusterInstance 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-rdsRelated to Amazon Relational Databaseeffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions