Simply put, events are the things that trigger your functions to run.
If you are using Alibaba Cloud as your provider,
events in the service are limited to the Alibaba Cloud triggers HTTP and OSS.
Upon deployment, the framework will set up the corresponding event configuration your
function should listen to.
Events belong to each Function and can be found in the
events property in
# serverless.yml functions: first: # Function name handler: index.http # Reference to file index.js & exported function 'http' events: # All events associated with this function path: /foo method: get
Note: Currently only one event definition per function is supported.
The Serverless Framework supports the Alibaba Cloud Function Compute events
http. Instead of listing them here, we've put them in a separate section. Check out the events section for more information.
To deploy or update your Functions and Events run