You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(rds): add fromLookup method for Amazon Aurora Database Cluster (#34849)
### Issue # (if applicable)
Closes#34848 .
### Reason for this change
Implement a lookup function for RDS DatabaseCluster similar to the existing DatabaseInstance.fromLookup functionality.
#33258
This allows users to fetch an Aurora RDS cluster reference by identifier rather than having to manually provide all connection details.
### Description of changes
Add `fromLookup` method to `DatabaseCluster`.
### Describe any new or updated permissions being added
N/A
### Description of how you validated changes
Add unit tests and an integ test.
### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Copy file name to clipboardExpand all lines: packages/@aws-cdk-testing/framework-integ/test/aws-rds/test/integ.cluster-lookup.js.snapshot/aws-cdk-rds-cluster-lookup.assets.json
Copy file name to clipboardExpand all lines: packages/@aws-cdk-testing/framework-integ/test/aws-rds/test/integ.cluster-lookup.js.snapshot/integrdsclusterfromlookupDefaultTestDeployAssert0EEE7886.assets.json
Copy file name to clipboardExpand all lines: packages/@aws-cdk-testing/framework-integ/test/aws-rds/test/integ.cluster-lookup.js.snapshot/integrdsclusterfromlookupDefaultTestDeployAssert0EEE7886.template.json
0 commit comments