检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Using an EG Trigger Creating an EG Trigger (RocketMQ Custom Event Source) Creating an EG Trigger (OBS Application Service) Parent topic: Creating Triggers
(OBS triggers are not available in the International regions.)
(OBS triggers are not available in the International regions.)
None Instruction FunctionGraph 02:41 Creating a Function from Scratch FunctionGraph 03:16 Using an OBS Trigger FunctionGraph 03:09 Using an SMN Trigger FunctionGraph 03:35 Using a DIS Trigger FunctionGraph 02:09 Using a Timer Trigger FunctionGraph 02:25 Creating a Dependency
Configuring asynchronous notification If the target service is OBS: OBS Administrator obs:bucket:HeadBucket (Obtain bucket metadata) obs:bucket:CreateBucket (Create a bucket) obs:object:PutObject (Upload objects using PUT method, upload objects using POST method, copy objects, append
Enumeration values: inline zip obs jar Custom-Image-Swr code_url String If code_type is set to obs, enter the OBS URL of the function code package. If code_type is not set to obs, leave this parameter blank. code_filename String Name of a function file.
Processing Cloud Data Create an OBS bucket and object, and configure event notifications. Create a bucket and an object on the OBS console, as shown in Figure 1. For details, see Creating a Bucket.
Options: inline: inline code zip: ZIP file obs: function code stored in an OBS bucket jar: JAR file, mainly for Java functions codeUrl False String If CodeType is set to obs, enter the OBS URL of the function code package.
Environment Variables Trigger Management Multiple trigger types, such as APIG, OBS, DIS, and LTS, are supported. Available in all regions where FunctionGraph is deployed.
If you want to invoke other cloud services, such as OBS, configure an agency with the required permissions. For security purpose, do this by following the principle of least privilege. For details, see Permissions Management. Parent topic: General FAQs
Check whether the DMS queue exists. 404 FSS.1136 The OBS trigger does not exist. The OBS trigger cannot be found. Check whether the OBS trigger exists. 404 FSS.1137 Invalid trigger type. Invalid trigger type.
Options: FLOWTIMER SMN APIG_DE (dedicated) OBS (OBS triggers are not available in the International regions.) Minimum: 1 Maximum: 32 Enumeration values: FLOWTIMER SMN APIG_DE OBS enabled Boolean Whether to enable the trigger.
Enumeration values: inline zip obs jar Custom-Image-Swr code_url String If code_type is set to obs, enter the OBS URL of the function code package. If code_type is not set to obs, leave this parameter blank. code_filename String Name of a function file.
Enumeration values: inline zip obs jar Custom-Image-Swr code_url String If code_type is set to obs, enter the OBS URL of the function code package. If code_type is not set to obs, leave this parameter blank. code_filename String Name of a function file.
Creating Triggers Managing Triggers Using a Timer Trigger Using an APIG (Dedicated) Trigger Using an OBS Trigger Using a Kafka Trigger Using a DIS Trigger Using an SMN Trigger Using an LTS Trigger Using a CTS Trigger Using a DDS Trigger Using a GeminiDB Mongo Trigger Using an APIG
OBS: OBS URL with the file in ZIP format Function Flow Function flow is available in CN East-Shanghai1 and AP-Singapore. Table 3 Function flow restrictions Restriction Item Description Max. function flows per account 200 For more function flows, submit a service ticket.
Supported Version SDK Download Link Node.js 6.10, 8.10, 10.16, 12.13, 14.18, 16.17, 18.15, 20.15 - Python 2.7, 3.6, 3.9, 3.10, 3.12 - Java 8, 11, 17 Java SDK (software package verification file: fss-java-sdk_sha256) NOTE: The Java runtime has integrated with Object Storage Service (OBS
OBS SMN DIS FunctionGraph Enumeration values: OBS SMN DIS FunctionGraph param String Parameters (in JSON format) corresponding to the target service. OBS: Parameters related to the bucket name, object directory prefix, and object expiration time are included.
(OBS triggers are not available in the International regions.) Enumeration values: TIMER CTS DDS DMS DIS LTS OBS SMN KAFKA RABBITMQ DEDICATEDGATEWAY OPENSOURCEKAFKA APIC Gemini Mongo EVENTGRID IOTDA trigger_id Yes String Trigger ID.
To store operation records for longer than seven days, you must configure transfer to OBS or Log Tank Service (LTS) so that you can view them in OBS buckets or LTS log groups.