class AWS::SimpleWorkflow::ActivityType


symbol :none (implying no timeout) or nil (not specified).
The return value may be an integer (number of seconds), the
The default maximum duration for activity tasks of this type.
@attr_reader [Integer,:none,nil] default_task_start_to_close_timeout
symbol :none (implying no timeout) or nil (not specified).
The return value may be an integer (number of seconds), the
before being assigned to a worker.
the activity type, that a task of an activity type can wait
The optional default maximum duration specified when registering
@attr_reader [Integer,:none,nil] default_task_schedule_to_start_timeout
symbol :none (implying no timeout) or nil (not specified).
The return value may be an integer (number of seconds), the
this default when scheduling a task.
activity type, for tasks of this activity type. You can override
The default maximum duration specified when registering the
@attr_reader [Integer,:none,nil] default_task_schedule_to_close_timeout
not provided when a task is scheduled.
registration. This default task list is used if a task list is
The default task list specified for this activity type at
@attr_reader [String,nil] default_task_list
symbol :none (implying no timeout) or nil (not specified).
The return value may be an integer (number of seconds), the
to record a heartbeat or return a result, it will be ignored.
automatically timed out. If the worker subsequently attempts
progress. If the timeout is exceeded, the activity task is
type, before which a worker processing a task must report
The default maximum time specified when registering the activity
@attr_reader [Integer,:none,nil] default_task_heartbeat_timeout
status will either be :registered or :deprecated.
@attr_reader [Symbol] status The status of this workflow type. The
type, or nil if was not set when it was registered.
@attr_reader [String,nil] description The description of this workflow
was deprecated, or nil if the workflow type has not been deprecated.
@attr_reader [Time,nil] deprecation_date When the workflow type
@attr_reader [Time] creation_date When the workflow type was registered.<br><br>domain.activity_types.deprecate
You can use these to deprecate an activity type:
* {Type#deprecated?}
* {Type#deprecate}
{Type} are a few useful methods including:
ActivityType inherits from the generic {Type} base class. Defined in
== Deprecating an activity type
See {ActivityTypeCollection#register} for a complete list of options.
domain.activity_types.register(‘name’, ‘version’, { … })
on the domain:
To register an activity type you should use the #activity_types method
== Registering an ActivityType