Creating an Event Subscription
Constraints
- If you specify an object name prefix or suffix, only events with the prefix or suffix will be processed. If not specified, events of any object will be processed.
- If the selected OBS bucket is invoked by other event subscriptions, ensure that the object name prefix and suffix are different from those configured in other event subscriptions. Otherwise, an error message is displayed.
Procedure
- Log in to the EG console.
- In the navigation pane, choose Event Subscriptions.
- Click Create Event Subscription.
- Click
next to the default subscription name.
- Enter a new subscription name and description, and click OK.
- Configure an event source.
Table 1 Parameter description Parameter
Description
Provider
Select Cloud services.
Event Source
Select OBS Application Service.
Bucket
Select an OBS bucket.
Event Type
Select the desired event types.
Object Name Prefix
Only events with this specified object suffix will be processed.
Object Name Suffix
Only events with this specified object suffix will be processed.
Object Name Encoding
Enable it.
Filter Rule
Retain the default. For details about how to configure a filtering rule, see Filter Rule Parameters.
- Configure an event target.
Table 2 Parameter description Parameter
Description
Provider
Select Cloud services.
Event Target
Select FunctionGraph (function computing).
Function
Select the function created for OBS data synchronization.
Version
Configure as needed.
Execute
Configure as needed.
Agency
If no agency is available, click Create Agency to generate one named EG_TARGET_AGENCY.
Transform Type
Configure as needed.
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