Skip to content

Commit 367fd3f

Browse files
committed
Update readme
1 parent 64e4e9a commit 367fd3f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/aws-cdk-lib/aws-rds/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,8 @@ const cluster = new rds.DatabaseCluster(this, 'Database', {
959959
// ...
960960
});
961961

962-
// You can get the log group of a cluster
962+
// When 'cloudwatchLogsExports' is set, each export value generates its own log group in the DB instance.
963+
// Specify an export value to access its log group.
963964
const errorLogGroup = cluster.cloudwatchLogGroups['error'];
964965
const auditLogGroup = cluster.cloudwatchLogGroups.audit;
965966

@@ -974,7 +975,8 @@ const instance = new rds.DatabaseInstance(this, 'Instance', {
974975
// ...
975976
});
976977

977-
// You can get the log group of a cluster
978+
// When 'cloudwatchLogsExports' is set, each export value generates its own log group in the DB instance.
979+
// Specify an export value to access its log group.
978980
const errorLogGroup = instance.cloudwatchLogGroups['postgresql'];
979981
```
980982

0 commit comments

Comments
 (0)