Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data WorkflowExecutionConfiguration = WorkflowExecutionConfiguration' {}
- newWorkflowExecutionConfiguration :: Text -> Text -> TaskList -> ChildPolicy -> WorkflowExecutionConfiguration
- workflowExecutionConfiguration_lambdaRole :: Lens' WorkflowExecutionConfiguration (Maybe Text)
- workflowExecutionConfiguration_taskPriority :: Lens' WorkflowExecutionConfiguration (Maybe Text)
- workflowExecutionConfiguration_taskStartToCloseTimeout :: Lens' WorkflowExecutionConfiguration Text
- workflowExecutionConfiguration_executionStartToCloseTimeout :: Lens' WorkflowExecutionConfiguration Text
- workflowExecutionConfiguration_taskList :: Lens' WorkflowExecutionConfiguration TaskList
- workflowExecutionConfiguration_childPolicy :: Lens' WorkflowExecutionConfiguration ChildPolicy
Documentation
data WorkflowExecutionConfiguration Source #
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.
See: newWorkflowExecutionConfiguration
smart constructor.
WorkflowExecutionConfiguration' | |
|
Instances
newWorkflowExecutionConfiguration Source #
:: Text |
|
-> Text |
|
-> TaskList | |
-> ChildPolicy | |
-> WorkflowExecutionConfiguration |
Create a value of WorkflowExecutionConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lambdaRole:WorkflowExecutionConfiguration'
, workflowExecutionConfiguration_lambdaRole
- The IAM role attached to the child workflow execution.
$sel:taskPriority:WorkflowExecutionConfiguration'
, workflowExecutionConfiguration_taskPriority
- 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.
$sel:taskStartToCloseTimeout:WorkflowExecutionConfiguration'
, workflowExecutionConfiguration_taskStartToCloseTimeout
- 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.
$sel:executionStartToCloseTimeout:WorkflowExecutionConfiguration'
, workflowExecutionConfiguration_executionStartToCloseTimeout
- 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.
$sel:taskList:WorkflowExecutionConfiguration'
, workflowExecutionConfiguration_taskList
- The task list used for the decision tasks generated for this workflow
execution.
$sel:childPolicy:WorkflowExecutionConfiguration'
, workflowExecutionConfiguration_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.
workflowExecutionConfiguration_lambdaRole :: Lens' WorkflowExecutionConfiguration (Maybe Text) Source #
The IAM role attached to the child workflow execution.
workflowExecutionConfiguration_taskPriority :: Lens' WorkflowExecutionConfiguration (Maybe Text) Source #
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.
workflowExecutionConfiguration_taskStartToCloseTimeout :: Lens' WorkflowExecutionConfiguration Text Source #
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.
workflowExecutionConfiguration_executionStartToCloseTimeout :: Lens' WorkflowExecutionConfiguration Text Source #
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.
workflowExecutionConfiguration_taskList :: Lens' WorkflowExecutionConfiguration TaskList Source #
The task list used for the decision tasks generated for this workflow execution.
workflowExecutionConfiguration_childPolicy :: Lens' WorkflowExecutionConfiguration ChildPolicy Source #
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.