Esta página aún no está disponible en su idioma local. Estamos trabajando arduamente para agregar más versiones de idiomas. Gracias por tu apoyo.

On this page

Show all

Adding an Event Source

Updated on 2023-11-15 GMT+08:00

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:

  1. On the fss_examples_image_thumbnail page, choose Configuration > Triggers, and click Create Trigger.
  2. Select Object Storage Service (OBS) for Trigger Type, and set the trigger information, as shown in Figure 1.

    • For Bucket Name, select your-bucket-input created in Creating OBS Buckets.
    • For Events, select Put and Post.
    Figure 1 Creating a trigger

  3. Click OK.

    NOTE:

    After the OBS trigger is created, when an image is uploaded or updated to bucket your-bucket-input, an event is generated to trigger the function.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback