Skip to content

Commit

Permalink
added advice how to reference existing lambda functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Reulen committed Nov 27, 2024
1 parent 943d681 commit 7fd8378
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ export const data = defineData({
});
```

If you want to use an existing lambda function, you can reference it by its name: `a.handler.function('name-of-existing-lambda-fn')`. This references an external lambda resource which Amplify is not aware of. You need to make sure the function and all dependencies are being managed outside of Amplify.

</Block>
<Block name="Custom resolver powered by AppSync JavaScript resolvers">

Expand Down

0 comments on commit 7fd8378

Please sign in to comment.