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