Adding an Event Source
After creating the OBS buckets and function, add an event source to the function by creating an OBS Application Service trigger. Perform the following procedure:
- On the fss_examples_dew page, choose Configuration > Triggers and click Create Trigger.
- Select OBS Application Service for Trigger Type, and set the trigger information, as shown in Figure 1.
Select the created dew-bucket-input bucket.
Select Create or override bucket objects via UI or Put request or Create or override bucket objects via Post request. for Event Type.
- Click OK.
After the OBS Application Service trigger is created, when a file is uploaded or updated to bucket dew-bucket-input, an event is generated to trigger the function.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot