Skip to content

Commit

Permalink
added advice how to reference existing lambda functions (#8136)
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Reulen <[email protected]>
  • Loading branch information
ThomasReulen and Thomas Reulen authored Jan 30, 2025
1 parent 2520a82 commit a4b1198
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 a4b1198

Please sign in to comment.