All Products
Search
Document Center

Function Compute (2.0):EventBridgeTriggerConfig

Last Updated:Mar 03, 2024
ParameterTypeDescriptionExample
object

The configurations of the EventBridge trigger.

triggerEnableboolean

The trigger switch. This switch is equivalent to the switch for the event rule on the EventBridge side. Valid values:

  • true: enables the trigger.
  • false: disables the trigger.
true
asyncInvocationTypeboolean

Specifies whether to invoke the function in asynchronous mode. Valid values:

  • true: invokes the function in asynchronous mode.
  • false: invokes the function in synchronous mode.
true
eventRuleFilterPatternstring

The event pattern. Use the JSON format. For more information, see EventBridge event patterns.

'{"source":["acs.oss"],"type":["oss:BucketCreated:PutBucket"]}'
eventSourceConfigEventSourceConfig

The configurations of the event source.

eventSinkConfigEventSinkConfig

Event destination configurations

runOptionsRunOptions

Configurations of runtime parameters