Skip to content

Commit e9ea30c

Browse files
authored
Fix README.md
1 parent e457942 commit e9ea30c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/aws-cdk-lib/aws-ecr/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ You can publish repository events to a CloudWatch event rule with `onEvent`:
215215

216216
```ts
217217
import * as lambda from 'aws-cdk-lib/aws-lambda';
218+
import { LambdaFunction } from 'aws-cdk-lib/aws-events-targets';
218219

219220
const repo = new ecr.Repository(this, 'Repo');
220221
const lambdaHandler = new lambda.Function(this, 'LambdaFunction', {

0 commit comments

Comments
 (0)