diff --git a/packages/aws-cdk-lib/aws-lambda/README.md b/packages/aws-cdk-lib/aws-lambda/README.md index 79d8a5484ea1a..41ee3f6953b69 100644 --- a/packages/aws-cdk-lib/aws-lambda/README.md +++ b/packages/aws-cdk-lib/aws-lambda/README.md @@ -173,7 +173,7 @@ new lambda.Function(this, 'Lambda', { }); ``` -To use `ApplicationLogLevel` and/or `SystemLogLevel` you must set `LogFormat` to `LogFormat.JSON`. +To use `applicationLogLevel` and/or `systemLogLevel` you must set `logFormat` to `LogFormat.JSON`. ## Resource-based Policies