检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Enumeration values: inline zip obs jar code_url No 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 No String Name of a function file.
Using FunctionGraph to Encrypt and Decrypt Files in OBS Use a function and an OBS Application Service trigger to encrypt and decrypt files in OBS.
client - smnsdk SMN access (public cloud) 1.0.1 Other third-party libraries For other third-party libraries not listed in the preceding tables, package and upload them to an OBS bucket or on the function details page.
Workflow + Function: Automatically Processing Data in OBS Use FunctionGraph to process OBS data.
Typical Scenarios Download files stored in Object Storage Service (OBS) to the /tmp directory for processing. To store function execution data in OBS, create a file in the /tmp directory, write the data into the file, and then upload the file to OBS. Parent topic: General FAQs
Upload from OBS: Specify an OBS link URL. For details about how to obtain the URL, see Accessing an Object Using Its URL. Runtime Select a runtime. Description Description of the dependency. This parameter is optional. Click OK. By default, a new dependency is version 1.
OBS SMN DIS FunctionGraph Enumeration values: OBS SMN DIS FunctionGraph param No 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.
Figure 2 Upload Files to OBS Action Name: Enter Upload Function Package to OBS. Build Directory: Enter helloworld/code/helloworld.zip. Bucket Name: Specify a private bucket to store the function code ZIP package. OBS Directory: Enter function.
Data source integration FunctionGraph supports multiple data source triggering modes, such as OBS and message queue. Parent Topic: Scenarios
Event list APIG Events OBS Events Parent topic: Serverless Framework
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.
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.
Files are uploaded to OBS to trigger file processing functions. You will be billed only for resources used to process files as needed (you are not billed for idle resources during lows in demand).
Using an EG Trigger Creating an EG Trigger (RocketMQ Custom Event Source) Creating an EG Trigger (OBS Application Service) Parent Topic: Configuring Triggers
(OBS triggers are not available in the International regions.)
(OBS triggers are not available in the International regions.)
Upload from OBS: Specify an OBS link URL. For details about how to obtain the URL, see Accessing an Object Using Its URL. Runtime Select a runtime. Description Description of the dependency. This parameter is optional. Click OK. By default, a new dependency is version 1.
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.
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.