serverless-plugin-buttonize
v1.6.5
Published
Serverless Framework Plugin for using Buttonize in your project
Downloads
19
Readme
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-buttonize
Setup
Add general configuration to custom
.
custom:
buttonize:
apiKey: PUT_HERE_YOUR_BUTTONIZE_API_KEY
Hook 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 Email
Deploy the app with serverless deploy
and the Buttonize resources will be provisioned automatically.