AWS SDK for .NET Documentation
ScheduleActivityTaskDecisionAttributes Class
AmazonAmazon.SimpleWorkflow.ModelScheduleActivityTaskDecisionAttributes Did this page help you?   Yes   No    Tell us about it...

Provides details of the ScheduleActivityTask decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF in much the same way as for the regular API:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.

Declaration Syntax
C#
public class ScheduleActivityTaskDecisionAttributes
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
ScheduleActivityTaskDecisionAttributes()()()()
Initializes a new instance of the ScheduleActivityTaskDecisionAttributes class

ActivityId
The activityId of the activity task. This field is required. The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal string "arn".

Constraints:

Length
1 - 256


ActivityType
The type of the activity task to schedule. This field is required.

Control
Optional data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the activity.

Constraints:

Length
0 - 32768


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
HeartbeatTimeout
If set, specifies the maximum time before which a worker processing a task of this type must report progress by calling RecordActivityTaskHeartbeat. 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 overrides the default heartbeat timeout specified when registering the activity type using RegisterActivityType. The valid values are integers greater than or equal to 0. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.

Constraints:

Length
0 - 8


Input
The input provided to the activity task.

Constraints:

Length
0 - 32768


ScheduleToCloseTimeout
The maximum duration for this activity task. The valid values are integers greater than or equal to 0. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.
Note:
A schedule-to-close timeout for this activity task must be specified either as a default for the activity type or through this field. If neither this field is set nor a default schedule-to-close timeout was specified at registration time then a fault will be returned.

Constraints:

Length
0 - 8


ScheduleToStartTimeout
If set, specifies the maximum duration the activity task can wait to be assigned to a worker. This overrides the default schedule-to-start timeout specified when registering the activity type using RegisterActivityType. The valid values are integers greater than or equal to 0. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.
Note:
A schedule-to-start timeout for this activity task must be specified either as a default for the activity type or through this field. If neither this field is set nor a default schedule-to-start timeout was specified at registration time then a fault will be returned.

Constraints:

Length
0 - 8


StartToCloseTimeout
If set, specifies the maximum duration a worker may take to process this activity task. This overrides the default start-to-close timeout specified when registering the activity type using RegisterActivityType. The valid values are integers greater than or equal to 0. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.
Note:
A start-to-close timeout for this activity task must be specified either as a default for the activity type or through this field. If neither this field is set nor a default start-to-close timeout was specified at registration time then a fault will be returned.

Constraints:

Length
0 - 8


TaskList
If set, specifies the name of the task list in which to schedule the activity task. If not specified, the defaultTaskList registered with the activity type will be used.
Note:
A task list for this activity task must be specified either as a default for the activity type or through this field. If neither this field is set nor a default task list was specified at registration time then a fault will be returned.
The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal string "arn".

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithActivityId(String) Obsolete.
Sets the ActivityId property

WithActivityType(ActivityType) Obsolete.
Sets the ActivityType property

WithControl(String) Obsolete.
Sets the Control property

WithHeartbeatTimeout(String) Obsolete.
Sets the HeartbeatTimeout property

WithInput(String) Obsolete.
Sets the Input property

WithScheduleToCloseTimeout(String) Obsolete.
Sets the ScheduleToCloseTimeout property

WithScheduleToStartTimeout(String) Obsolete.
Sets the ScheduleToStartTimeout property

WithStartToCloseTimeout(String) Obsolete.
Sets the StartToCloseTimeout property

WithTaskList(TaskList) Obsolete.
Sets the TaskList property

Inheritance Hierarchy
Object
ScheduleActivityTaskDecisionAttributes

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)