tencent cloud

All product documents
Serverless Cloud Function
Last updated: 2024-12-02 19:58:17
Usage
Last updated: 2024-12-02 19:58:17
This document describes how to create a COS 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 COS 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, configuration after function creation is used as an example for description:


Step 2. Configure a trigger

After selecting COS Trigger, configure the bucket, triggering event type, 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.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon