tencent cloud

Serverless Cloud Function

Usage

PDF
聚焦模式
字号
最后更新时间: 2024-12-02 19:58:17
This document describes how to create a CLS trigger and invoke a function.

Step 1. Create a function

Log in to the SCF console and upload and deploy your function code on the Create page. For more information, please see Creating Functions in Console.
The following takes the CLS sample template as an example to create a function project. In the default creation process with the template, a trigger is directly configured. In actual use cases, you can also configure a trigger after creating the function. Here, trigger configuration after function creation is used as an example for description:


Step 2. Configure a trigger

After selecting CLS Trigger, configure the logset, log topic, and other information as prompted to create a trigger:

Step 3. Manage the trigger

After successful creation, you can see the information of the created trigger on the Trigger Management page, where you can enable/disable the trigger.

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈