Updated on 2023-10-19 GMT+08:00

deploy trigger

deploy trigger is used to deploy a trigger of a function.

You can run deploy trigger -h or deploy trigger --help to view the documentation.

Examples

If the resource description file (YAML) is available, you can directly run the s deploy trigger command to deploy the trigger. The following is an example of the description file (YAML):
fgs-deploy-test: 
    region:   cn-north-4
    trigger:
        triggerTypeCode: APIG
        status: ACTIVE
        eventData:
            name: APIG_test
            groupName: APIGroup_xxx
            auth: IAM
            protocol: HTTPS
            timeout: 5000

When deploying service resources, you may need to perform some interactive operations. For details, see the interaction involved during deployment in Precautions.