tencent cloud

Feedback

Custom Function Processing

Last updated: 2022-06-21 15:15:45

    Overview

    If the existing services or features of COS media processing cannot meet your needs, you can use the custom function processing feature of SCF to write core code logic in order to flexibly implement your business needs while reducing your development costs. For more information on SCF, see Overview.

    Note:

    • Currently, the custom function processing feature can only be initiated in a workflow.
    • Using SCF for custom processing will incur fees, which will be charged by SCF. For billing details, see Billing Overview.

    Directions

    1. Log in to the COS console.

    2. Select Bucket List on the left sidebar.

    3. Click the name of the desired bucket.

    4. On the left sidebar, click Data Processing Workflow > Workflow to enter the workflow management page.

    5. Click Create Workflow.

    6. Click + to the right of “Configure Workflow” to add a custom function node.

    7. In the pop-up window, configure the following information.

    • Input Parameters: The input parameters specified with a custom function in a workflow don't need to be added manually. Instead, they can be obtained according to the node before the custom function.
    • Namespace: The created function is in the COS namespace by default.
    • Type: Select Common feature to quickly perform common operations on COS objects or Custom to configure other feature parameters.
    • Feature: The preset feature is supported when select the common feature.
    • Function: Currently, only functions that are executed asynchronously and have status tracking enabled are supported in a workflow.
      To create a function, click Create Function and configure the function as prompted.
    1. After confirming that the configuration is correct, click OK.
    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