Skip to content

Commit

Permalink
fix readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgrain committed Jan 17, 2024
1 parent d92e7a6 commit 4e42777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-lambda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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',
});

Expand Down

0 comments on commit 4e42777

Please sign in to comment.