Parameter | Type | Description | Example |
---|---|---|---|
object | The configurations of the Simple Log Service trigger. | ||
enable | boolean | Specifies whether to enable the trigger. | true |
functionParameter | object | 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"} | |
jobConfig | JobConfig | The interval at which the trigger reads logs, and the retry configuration upon errors. | |
logConfig | SLSTriggerLogConfig | The log configurations of the trigger. | |
sourceConfig | SourceConfig | The configurations of the trigger source. |