From 367fd3f9736a24e3703e149136bebfb16dd327ea 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..238d5e3199ba0 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 generates its own log group in the DB instance. +// 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 generates its own log group in the DB instance. +// Specify an export value to access its log group. const errorLogGroup = instance.cloudwatchLogGroups['postgresql']; ```