Updated on 2024-05-16 GMT+08:00

EventGrid

EventGrid (EG) is a serverless event bus service for standard and centralized access of Huawei Cloud services and custom or SaaS applications. You can build a loosely coupled, distributed event-driven architecture to flexibly route events via CloudEvents.

EG triggers are used to quickly create event subscriptions that use Huawei Cloud services or custom applications as event sources and composite application flow tasks as event targets. In this way, you can configure and process subscription events detected by EG in workflows.

Action

  • Huawei Cloud event source
  • Custom event source

Configuration Parameters

Table 1 Huawei Cloud event source

Parameter

Description

Event Subscription Name

Name of the event subscription created in EG

Region

Region of EG

Project

Project to which EG belongs

Channel

Event channel: Store received messages and route them to targets as specified by relevant rules.

Event Source

Huawei Cloud service event source

Event Type

Event type of a Huawei Cloud service, which is used to generate filter rules.

Filter Rule

Event filtering rule. For details, see Event Rules.

Connections

Target connection of EG

Event Transformation Rule

Pass-through: Route the complete structure of native events directly to the target.

Variable: Route only parameters extracted from events with JSONPath to the target.

Constant: Route only constants in events to the target as a trigger.

Table 2 Custom event source

Parameter

Description

Event Subscription Name

Name of the event subscription created in EG

Region

Region of EG

Project

Project to which EG belongs

Channel

Event channel: Store received messages and route them to targets as specified by relevant rules.

Event Source

Custom event source

Filter Rule

Event filtering rule. For details, see Event Rules.

Connections

Target connection of EG

Event Transformation Rule

Pass-through: Route the complete structure of native events directly to the target.

Variable: Route only parameters extracted from events with JSONPath to the target.

Constant: Route only constants in events to the target as a trigger.