We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e457942 commit e9ea30cCopy full SHA for e9ea30c
1 file changed
packages/aws-cdk-lib/aws-ecr/README.md
@@ -215,6 +215,7 @@ You can publish repository events to a CloudWatch event rule with `onEvent`:
215
216
```ts
217
import * as lambda from 'aws-cdk-lib/aws-lambda';
218
+import { LambdaFunction } from 'aws-cdk-lib/aws-events-targets';
219
220
const repo = new ecr.Repository(this, 'Repo');
221
const lambdaHandler = new lambda.Function(this, 'LambdaFunction', {
0 commit comments