Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
msambol committed Feb 24, 2024
1 parent 7cb2c27 commit 1d2c19e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-ecr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ You can publish repository events to a CloudWatch event rule with `onEvent`:
import * as lambda from 'aws-cdk-lib/aws-lambda';

const repo = new ecr.Repository(this, 'Repo');
const lambdaFunction = new lambda.Function(stack, 'LambdaFunction', {
const lambdaFunction = new lambda.Function(this, 'LambdaFunction', {
runtime: lambda.Runtime.PYTHON_3_12,
code: lambda.Code.fromInline('# dummy func'),
handler: 'index.handler',
Expand Down

0 comments on commit 1d2c19e

Please sign in to comment.