pub struct WorkflowExecutionConfiguration {
pub child_policy: String,
pub execution_start_to_close_timeout: String,
pub lambda_role: Option<String>,
pub task_list: TaskList,
pub task_priority: Option<String>,
pub task_start_to_close_timeout: 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§
§child_policy: String
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.
execution_start_to_close_timeout: 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.
lambda_role: Option<String>
The IAM role attached to the child workflow execution.
task_list: 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.
task_start_to_close_timeout: 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.
Trait Implementations§
Source§impl Clone for WorkflowExecutionConfiguration
impl Clone for WorkflowExecutionConfiguration
Source§fn clone(&self) -> WorkflowExecutionConfiguration
fn clone(&self) -> WorkflowExecutionConfiguration
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for WorkflowExecutionConfiguration
impl Default for WorkflowExecutionConfiguration
Source§fn default() -> WorkflowExecutionConfiguration
fn default() -> WorkflowExecutionConfiguration
Source§impl<'de> Deserialize<'de> for WorkflowExecutionConfiguration
impl<'de> Deserialize<'de> for WorkflowExecutionConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for WorkflowExecutionConfiguration
impl PartialEq for WorkflowExecutionConfiguration
Source§fn eq(&self, other: &WorkflowExecutionConfiguration) -> bool
fn eq(&self, other: &WorkflowExecutionConfiguration) -> bool
self
and other
values to be equal, and is used by ==
.