Create triggers for a function to define rules that determine when the function runs. When an event matches those rules, the event source triggers the associated function. This topic lists all triggers supported by Function Compute.
One-way integrated triggers—such as the API Gateway trigger—support configuration only on the event source side. You cannot modify them in the Function Compute console. Therefore, this topic does not cover one-way integrated triggers.
Prerequisites
Create a trigger
You can create up to 10 triggers for a single function.
Two-way integrated triggers
One-way integrated triggers
Cloud service event triggers
Update a trigger configuration
You cannot update existing Simple Message Queue (formerly MNS) topic triggers or Tablestore triggers using the following steps.
Log on to the Function Compute console. In the left-side navigation pane, click Functions.
In the top navigation bar, select a region. On the Functions page, click the function that you want to manage.
On the function details page, click the Trigger tab. In the trigger list, click Modify in the Actions column for the trigger that you want to update.
In the Edit Trigger panel, update the trigger configuration as needed. Click OK.
You can also delete unused triggers based on the prompts in the interface.