The page has been translated by Gen AI.

Set Trigger

Set up trigger

Reference
  • By default, all triggers can be added in Cloud Functions.
  • If triggered from a specific product, it must be passed to Cloud Functions.

Cronjob Trigger Setup

To set up a Cronjob trigger, follow these steps.

  1. All Services > Compute > Cloud Functions Click the menu. Navigate to the Service Home page of Cloud Functions.
  2. Click the Function menu on the Service Home page. It moves to the Function List page.
  3. Function List 페이지에서 트리거를 설정할 자원을 클릭하세요. Function Details 페이지로 이동합니다.
  4. After clicking the Trigger tab, click the Add Trigger button. Set it. The Add Trigger popup opens.
  5. Add Trigger In the popup window, select Trigger Type Cronjob. The required information input area appears at the bottom.
    CategoryDetailed description
    Cronjob SettingsSet the trigger’s repeat frequency
    • Can be set in minutes, hours, days, months, and weekdays
    Timezone settingSet the trigger’s reference time zone
    Table. Cronjob Trigger Required Information Items
  6. After entering the required information, click the Confirm button.
  7. When the pop-up window notifying addition opens, click the Confirm button.

API Gateway Trigger Setup

To set up an API Gateway trigger, follow these steps.

  1. All Services > Compute > Cloud Functions Click the menu. Go to the Service Home page of Cloud Functions.
  2. Click the Function menu on the Service Home page. Go to the Function List page.
  3. Function List on the page, click the resource to set the trigger. Function Details go to the page.
  4. After clicking the Trigger tab, click the Add Trigger button. Set it. The Add Trigger popup window opens.
  5. Add Trigger In the popup window, select Trigger Type API Gateway. A required information input area appears at the bottom.
    CategoryDetailed description
    API nameAPI selection
    • You can select an existing API or create a new one
    StageSelect deployment target
    • You can select an existing stage or create a new one
    Table. API Gateway Trigger Required Information Items
  6. After entering the required information, click the Confirm button.
  7. When the popup notifying addition opens, click the Confirm button.

Setting up Multi Trigger

You can connect multiple triggers to a single function and use them.

Edit Trigger

To modify the added trigger, follow the steps below.

  1. All Services > Compute > Cloud Functions Click the menu. Go to the Service Home page of Cloud Functions.
  2. Click the Function menu on the Service Home page. Navigate to the Function List page.
  3. On the Function List page, click the resource to edit the trigger. It moves to the Function Details page.
  4. After clicking the Trigger tab, click the Edit button of the trigger whose settings you want to modify in the trigger list. The Edit Trigger popup window opens.
  5. Trigger Edit After modifying the setting values in the popup window, click the Confirm button.
  1. When the popup notifying the edit opens, click Confirm.

Delete Trigger

To delete the trigger, follow the steps below.

Caution
Triggers linked to a specific product only manage the product delivered at the time of linking in that product, and when Functions are terminated, a deletion status must be delivered to that product.
  1. All Services > Compute > Cloud Functions Click the menu. Navigate to the Service Home page of Cloud Functions.
  2. Click the Function menu on the Service Home page. Navigate to the Function List page.
  3. Function List page, click the resource to set the trigger. Function Details page will be navigated.
  4. In the Trigger tab’s trigger list, after selecting the trigger to delete, click the Delete button.
  5. Click the Confirm button when the popup notifying trigger deletion opens.
How-to guides
AIOS Connect