1.6.5 • Published 2 years ago
serverless-plugin-buttonize v1.6.5
serverless-plugin-buttonize
:warning: Currently this plugin is deprecated. If you are interested in using Buttonize with Serverless Framework, please contact us at buttonize.io.
New version of the plugin is coming soon...
In the mean time, feel free to check our AWS CDK constructs at: https://github.com/buttonize/buttonize-cdk
Install
Run npm install in your Serverless project.
$ npm install --save-dev serverless-plugin-buttonize
Add the plugin to your serverless.yml file
plugins:
- serverless-plugin-buttonizeSetup
Add general configuration to custom.
custom:
buttonize:
apiKey: PUT_HERE_YOUR_BUTTONIZE_API_KEYHook events to your lambda functions.
functions:
addUserToDatabase:
handler: src/addUserToDatabase.hello
events:
- buttonize:
label: Add user to database
type: FieldsInput
fields:
userName: User Name
userEmail: User EmailDeploy the app with serverless deploy and the Buttonize resources will be provisioned automatically.