Skip to content

Commit 9aa7281

Browse files
authored
feat(rds): Add log group property to RDS instance and RDS cluster (#28676)
There isn't an easy way to get the new created log group of an DatabaseInstance if the DatabaseInstance has the cloudwatchLogsExport property set. Right now users would have to manual figure out the log group name by constructing `/aws/rds/instance/${this.databaseInstance.instanceIdentifier}/postgresql`. Same applies to RDS cluster resource. This is also dangerous as it relies on the naming convention unmodified. It would break the application if the naming convention was somehow changed. Add a new property `cloudwatchLogGroups` to RDS instance and cluster. Closes #<#20358>. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 1231121 commit 9aa7281

File tree

15 files changed

+2405
-3
lines changed

15 files changed

+2405
-3
lines changed

packages/@aws-cdk-testing/framework-integ/test/aws-rds/test/integ.instance-with-metric.js.snapshot/asset.e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035/index.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-rds/test/integ.instance-with-metric.js.snapshot/aws-cdk-rds-instance-with-metric.assets.json

+32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)