Well, it's pretty simple. It wraps Graphql resources generated by Amplify into a AWS Lambda layer for future usage outside of your Amplify project.
npm install amplify-lambda-layerWell, it's pretty simple. It wraps Graphql resources generated by Amplify into a AWS Lambda layer for future usage outside of your Amplify project.
As your app grows so does its complexity, it might happen that you require to access your GraphQL API uotside of your Amplify app, and copy and paste the sames files over and over again is hard not to mention unmaintainable.
```
npm i -g amplify-lambda-layer
```
amplify amplify-lambda-layer update
After run the update command a new lambda layer will be available for you with all the graphql resources found in your Amplify project.