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:
- Use a Resource element with the domain name to limit the decision to only specified domains.
- Use an Action element to allow or deny permission to specify this decision.
- Constrain the following parameters by using a Condition element with the appropriate keys.
- activityType.name : String constraint. The key is “swf:activityType.name”.
- activityType.version : String constraint. The key is “swf:activityType.version”.
- taskList : String constraint. The key is “swf:taskList.name”.
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 Members | Constructors | Methods | Properties | ||
Icon | Member | Description | ||
---|---|---|---|---|
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: | |||
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: | |||
Equals(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: | |||
Input |
The input provided to the activity task.
Constraints: | |||
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.
Constraints: | |||
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.
Constraints: | |||
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.
Constraints: | |||
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.
| |||
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 |