Adding an Event Source
After creating the OBS buckets and function, you can add an event source to the function by creating an OBS trigger. Perform the following procedure:
- On the fss_examples_image_watermark page, click the Triggers tab and click Create Trigger.
- Select OBS for Trigger Type, and set the trigger information, as shown in Figure 1.
For Bucket Name, select hugb-bucket-input created in Creating OBS Buckets.
- Click OK. The trigger is created, as shown in Figure 2.
After the OBS trigger is created, when an image is uploaded or updated to bucket hugb-bucket-input, an event is generated to trigger the function.
Last Article: Building a Program
Next Article: Watermarking Images


Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.