Struct aws_sdk_swf::model::WorkflowExecutionConfiguration
source · [−]#[non_exhaustive]pub struct WorkflowExecutionConfiguration {
pub task_start_to_close_timeout: Option<String>,
pub execution_start_to_close_timeout: Option<String>,
pub task_list: Option<TaskList>,
pub task_priority: Option<String>,
pub child_policy: Option<ChildPolicy>,
pub lambda_role: Option<String>,
}
Expand description
The configuration settings for a workflow execution including timeout values, tasklist etc. These configuration settings are determined from the defaults specified when registering the workflow type and those specified when starting the workflow execution.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.task_start_to_close_timeout: Option<String>
The maximum duration allowed for decision tasks for this workflow execution.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
to specify unlimited duration.
execution_start_to_close_timeout: Option<String>
The total duration for this workflow execution.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
to specify unlimited duration.
task_list: Option<TaskList>
The task list used for the decision tasks generated for this workflow execution.
task_priority: Option<String>
The priority assigned to decision tasks for this workflow execution. Valid values are integers that range from Java's Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
child_policy: Option<ChildPolicy>
The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution
action explicitly or due to an expired timeout.
The supported child policies are:
-
TERMINATE
– The child executions are terminated. -
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording aWorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. -
ABANDON
– No action is taken. The child executions continue to run.
lambda_role: Option<String>
The IAM role attached to the child workflow execution.
Implementations
The maximum duration allowed for decision tasks for this workflow execution.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
to specify unlimited duration.
The total duration for this workflow execution.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use NONE
to specify unlimited duration.
The task list used for the decision tasks generated for this workflow execution.
The priority assigned to decision tasks for this workflow execution. Valid values are integers that range from Java's Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution
action explicitly or due to an expired timeout.
The supported child policies are:
-
TERMINATE
– The child executions are terminated. -
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording aWorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. -
ABANDON
– No action is taken. The child executions continue to run.
The IAM role attached to the child workflow execution.
Creates a new builder-style object to manufacture WorkflowExecutionConfiguration
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for WorkflowExecutionConfiguration
impl Sync for WorkflowExecutionConfiguration
impl Unpin for WorkflowExecutionConfiguration
impl UnwindSafe for WorkflowExecutionConfiguration
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more