The following table lists the current set of commands supported by the Amplify Function Category Plugin.
Command | Description |
---|---|
amplify function add | Takes you through steps in the CLI to add a function resource to your backend. |
amplify function push | Provisions only function cloud resources with the latest local developments. |
amplify function build | Builds node_modules for all of the function resources in the project. |
amplify function invoke <functionname> |
Locally test/invoke the function in your local backend. |
amplify function remove | Removes the function resource from your local backend. The resource is removed from the cloud on the next push command. |