EdgeAppTrigger
A trigger that fires a handler in a edgeApp
Fields
Trigger kind
Possible values (4)
CRONCron-scheduled handler
TAILPer-line tail of a file
FILE_CREATEDFires when a file appears in a directory
FILE_DELETEDFires when a file disappears from a directory
Unique trigger name within the edgeApp
Handler key from the edgeApp's handlers map
Cron expression (cron triggers only)
Filesystem path (tail / file-watch triggers)
Optional glob pattern (file-watch triggers)
Referenced by (1)
Exact type SDL
"""A trigger that fires a handler in a edgeApp"""
type EdgeAppTrigger {
"""Trigger kind"""
kind: EdgeAppTriggerKind!
"""Unique trigger name within the edgeApp"""
name: String!
"""Handler key from the edgeApp's handlers map"""
handler: String!
"""Cron expression (cron triggers only)"""
schedule: String
"""Filesystem path (tail / file-watch triggers)"""
path: String
"""Optional glob pattern (file-watch triggers)"""
pattern: String
}