Class AWS::SimpleWorkflow::ActivityTypeCollection
In: lib/aws/simple_workflow/activity_type_collection.rb
Parent: TypeCollection

Methods

create   register  

Public Instance methods

create(name, version, options = {})

Alias for register

Registers a new activity type along with its configuration settings in the current domain.

@param [String] name The name of the activity type.

@param [String] version The version of the activity type.

  The activity type consists of the name and version, the
  combination of which must be unique within the domain.

@param [Hash] options

@option options [Integer,:none] :default_task_heartbeat_timeout (nil)

  The default maximum time before which a worker processing a task
  of this type must report progress.  If the timeout is exceeded,
  the activity task is automatically timed out. If the worker
  subsequently attempts to record a heartbeat or returns a
  result, it will be ignored. This default can be overridden when
  scheduling an activity task.

  The value should be a number of seconds (integer) or the symbol
  `:none` (implying no timeout).

@option options [String] :default_task_list (nil) The default task

  list to use for scheduling tasks of this activity type.
  This default task list is used if a task list is not provided
  when a task is scheduled.

@option options [Integer,:none] :default_task_schedule_to_close_timeout (nil)

  The value should be a number of seconds (integer) or the symbol
  `:none` (implying no timeout).

@option options [Integer,:none] :default_task_schedule_to_start_timeout (nil)

  The default maximum duration that a task of this activity type
  can wait before being assigned to a worker. This default can be
  overridden when scheduling an activity task.

  The value should be a number of seconds (integer) or the symbol
  `:none` (implying no timeout).

@option options [Integer,:none] :default_task_start_to_close_timeout (nil)

  The default maximum duration that a worker can take to process
  tasks of this activity type (in the ISO 8601 format). This default
  can be overridden when scheduling an activity task.

  The value should be a number of seconds (integer) or the symbol
  `:none` (implying no timeout).

@option options [String] :description (nil) A textual description

  of the activity type.

[Validate]