All Products
Search
Document Center

Function Compute:SLSTriggerConfig

Last Updated:Aug 02, 2024
ParameterTypeDescriptionExample
object

The configurations of the Simple Log Service trigger.

enableboolean

Specifies whether to enable the trigger.

true
functionParameterobject

The invocation configurations. Simple Log Service passes the configurations into the function as part of the event. The configuration content must be a JSON string.

string

The content of the invocation configuration. Simple Log Service passes the configurations into the function as part of the event. The configuration content must be a JSON string.

{"foo":"bar"}
jobConfigJobConfig

The interval at which the trigger reads logs, and the retry configuration upon errors.

logConfigSLSTriggerLogConfig

The log configurations of the trigger.

sourceConfigSourceConfig

The configurations of the trigger source.