All Products
Search
Document Center

Function Compute:EventBridgeTriggerConfig

最終更新日:Jun 02, 2023
ParameterTypeDescriptionExample
object

The configurations of the EventBridge trigger.

triggerEnableboolean

The trigger switch. The parameter is equivalent to the switches of the corresponding event rules on EventBridge.

true
asyncInvocationTypeboolean

The way that the trigger invokes the function. Synchronous invocation and asynchronous invocation are supported.

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.