diff --git a/packages/@aws-cdk/aws-apigateway/README.md b/packages/@aws-cdk/aws-apigateway/README.md index a04bc7f4adff6..0fd8dee131bd6 100644 --- a/packages/@aws-cdk/aws-apigateway/README.md +++ b/packages/@aws-cdk/aws-apigateway/README.md @@ -381,7 +381,7 @@ const authFn = new lambda.Function(this, 'booksAuthorizerLambda', { // ... }); -const auth = new lambda.TokenAuthorizer(this, 'booksAuthorizer', { +const auth = new apigateway.TokenAuthorizer(this, 'booksAuthorizer', { function: authFn });