Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OSSTrigger

Hierarchy

Implements

  • Trigger

Constructors

constructor

  • new OSSTrigger(triggerOptions?: object): OSSTrigger

Properties

triggerOptions

triggerOptions: any

useCallback

useCallback: boolean = true

Methods

close

  • close(): Promise<void>

createCallback

  • createCallback(handler: any): function

createContext

  • createContext(): object
  • Returns object

    • accountId: string
    • region: string
    • requestId: string
    • credentials: object
      • accessKeyId: string
      • accessKeySecret: string
      • securityToken: string
    • function: object
      • handler: string
      • initializationTimeout: number
      • initializer: string
      • memory: number
      • name: string
      • timeout: number
    • service: object
      • logProject: string
      • logStore: string
      • name: string
      • qualifier: string
      • versionId: string

delegate

  • delegate(invokeWrapper: function): Promise<any>

getEvent

  • getEvent(): object

toArgs

  • toArgs(): Promise<any[]>

Generated using TypeDoc