Struct aws_sdk_swf::types::WorkflowExecutionConfiguration
source · #[non_exhaustive]pub struct WorkflowExecutionConfiguration {
pub task_start_to_close_timeout: String,
pub execution_start_to_close_timeout: String,
pub task_list: Option<TaskList>,
pub task_priority: Option<String>,
pub child_policy: 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: 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: 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: 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§
source§impl WorkflowExecutionConfiguration
impl WorkflowExecutionConfiguration
sourcepub fn task_start_to_close_timeout(&self) -> &str
pub fn task_start_to_close_timeout(&self) -> &str
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.
sourcepub fn execution_start_to_close_timeout(&self) -> &str
pub fn execution_start_to_close_timeout(&self) -> &str
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.
sourcepub fn task_list(&self) -> Option<&TaskList>
pub fn task_list(&self) -> Option<&TaskList>
The task list used for the decision tasks generated for this workflow execution.
sourcepub fn task_priority(&self) -> Option<&str>
pub fn task_priority(&self) -> Option<&str>
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.
sourcepub fn child_policy(&self) -> &ChildPolicy
pub fn child_policy(&self) -> &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.
sourcepub fn lambda_role(&self) -> Option<&str>
pub fn lambda_role(&self) -> Option<&str>
The IAM role attached to the child workflow execution.
source§impl WorkflowExecutionConfiguration
impl WorkflowExecutionConfiguration
sourcepub fn builder() -> WorkflowExecutionConfigurationBuilder
pub fn builder() -> WorkflowExecutionConfigurationBuilder
Creates a new builder-style object to manufacture WorkflowExecutionConfiguration
.
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 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 ==
.