← All types
ProductionOb Object

EdgeAppTrigger

A trigger that fires a handler in a edgeApp

Fields

Trigger kind

Possible values (4)
CRON

Cron-scheduled handler

TAIL

Per-line tail of a file

FILE_CREATED

Fires when a file appears in a directory

FILE_DELETED

Fires when a file disappears from a directory

name

String!Non-null

Unique trigger name within the edgeApp

handler

String!Non-null

Handler key from the edgeApp's handlers map

Cron expression (cron triggers only)

path

StringNullable

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
}