Skip to content

All properties of DatabaseClusterAttributes should not be required #3587

@realharry

Description

@realharry

Note: for support questions, please first reference our documentation, then use Stackoverflow. This repository's issues are intended for feature requests and bug reports.

DatabaseCluster.from­Database­Cluster­Attributes() takes the DatabaseClusterAttributes interface as a props argument for filtering purposes. But, since every property of the interface is required, the method from­Database­Cluster­Attributes() not very useful.

  • What is the expected behavior (or behavior of feature suggested)?

All properties of DatabaseClusterAttributes should be optional except for a few essential ones, if any.

  • What is the motivation / use case for changing the behavior or adding this feature?

Currently, there is no way to refer to existing DB from CDK app. DatabaseCluster.from­Database­Cluster­Attributes() is the only one I'm aware of, but I cannot use it because all fields are required.

  • Please tell us about your environment:

    • CDK CLI Version: 1.3.0 (build bba9914)
    • Module Version: 1.3.0
    • OS: OSX Mojave
    • Language: TypeScript
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, gitter, etc)

Metadata

Metadata

Assignees

Labels

@aws-cdk/aws-rdsRelated to Amazon Relational DatabasebugThis issue is a bug.effort/smallSmall work item – less than a day of effortin-progressThis issue is being actively worked on.p2

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions