From 4e427778b36bcb34061077d338668af5378ed787 Mon Sep 17 00:00:00 2001 From: Momo Kornher Date: Wed, 17 Jan 2024 12:18:45 +0000 Subject: [PATCH] fix readme example --- packages/aws-cdk-lib/aws-lambda/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/aws-cdk-lib/aws-lambda/README.md b/packages/aws-cdk-lib/aws-lambda/README.md index 850623b053b06..f04c725aebd6e 100644 --- a/packages/aws-cdk-lib/aws-lambda/README.md +++ b/packages/aws-cdk-lib/aws-lambda/README.md @@ -999,7 +999,7 @@ This way you can use the full features set supported by Amazon CloudWatch Logs. ```ts import { LogGroup } from 'aws-cdk-lib/aws-logs'; -const myLogGroup = new logs.LogGroup(stack, 'MyLogGroupWithLogGroupName', { +const myLogGroup = new LogGroup(this, 'MyLogGroupWithLogGroupName', { logGroupName: 'customLogGroup', });