From 8e090c5ec58be9b9ed91a92ad65bcce895d54057 Mon Sep 17 00:00:00 2001 From: Gavin Zhang Date: Thu, 11 Jan 2024 15:12:14 -0800 Subject: [PATCH] Update readme --- packages/aws-cdk-lib/aws-rds/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/aws-cdk-lib/aws-rds/README.md b/packages/aws-cdk-lib/aws-rds/README.md index 28dbc3ba18f7d..0002cc58ffec5 100644 --- a/packages/aws-cdk-lib/aws-rds/README.md +++ b/packages/aws-cdk-lib/aws-rds/README.md @@ -959,7 +959,8 @@ const cluster = new rds.DatabaseCluster(this, 'Database', { // ... }); -// You can get the log group of a cluster +// When 'cloudwatchLogsExports' is set, each export value creates its own log group in DB cluster. +// Specify an export value to access its log group. const errorLogGroup = cluster.cloudwatchLogGroups['error']; const auditLogGroup = cluster.cloudwatchLogGroups.audit; @@ -974,7 +975,8 @@ const instance = new rds.DatabaseInstance(this, 'Instance', { // ... }); -// You can get the log group of a cluster +// When 'cloudwatchLogsExports' is set, each export value creates its own log group in DB instance. +// Specify an export value to access its log group. const errorLogGroup = instance.cloudwatchLogGroups['postgresql']; ```