Class: Usher

Usher

new Usher()

Manages workflows
Source:

Methods

activities(name, domain, options) → {ActivityPoller}

Create or retrieve a activity poller
Parameters:
Name Type Argument Description
name string The name of the poller.
domain string The AWS SWF domain name to execute the pollers activities in.
options object <optional>
Additional SWF options used when polling for activities (taskList=-tasklist)
Source:
Returns:
- A activity poller instance where specific activities can be defined
Type
ActivityPoller

fragment(name) → {Fragment}

Create or retrieve a workflow fragment
Parameters:
Name Type Description
name string The name of the fragment.
Source:
Returns:
- A workflow fragment instance
Type
Fragment

workflow(name, domain, options) → {DecisionPoller}

Create or retrieve a workflow
Parameters:
Name Type Argument Description
name string The name of the workflow.
domain string The AWS SWF domain name to execute this workflow in.
options object <optional>
Additional SWF options used when creating and executing this workflow (taskList, tagList, childPolicy, executionStartToCloseTimeout, taskStartToCloseTimeout)
Source:
Returns:
- A workflow poller where specific versions of a workflow can be defined
Type
DecisionPoller