All Products
Search
Document Center

Function Compute:EventBridgeTriggerConfig

Last Updated:Sep 23, 2024
ParameterTypeDescriptionExample
object

The EventBridge trigger configurations.

triggerEnableboolean

The trigger switch. This switch is equivalent to the Disable 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. The pattern is in JSON format. For more information, see EventBridge event patterns.

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

The event source configurations.

eventSinkConfigEventSinkConfig

The event destination configurations.

runOptionsRunOptions

The runtime configurations.