You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::SWF::Types::StartChildWorkflowExecutionInitiatedEventAttributes

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb

Overview

Provides the details of the StartChildWorkflowExecutionInitiated event.

Instance Attribute Summary collapse

Instance Attribute Details

#child_policyString

The policy to use for the child workflow executions if this execution gets terminated by explicitly calling the TerminateWorkflowExecution action 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 a WorkflowExecutionCancelRequested 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.

Returns:

  • (String)


5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 5509

class StartChildWorkflowExecutionInitiatedEventAttributes < Struct.new(
  :workflow_id,
  :workflow_type,
  :control,
  :input,
  :execution_start_to_close_timeout,
  :task_list,
  :task_priority,
  :decision_task_completed_event_id,
  :child_policy,
  :task_start_to_close_timeout,
  :tag_list,
  :lambda_role)
  include Aws::Structure
end

#controlString

Data attached to the event that can be used by the decider in subsequent decision tasks. This data isn't sent to the activity.

Returns:

  • (String)


5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 5509

class StartChildWorkflowExecutionInitiatedEventAttributes < Struct.new(
  :workflow_id,
  :workflow_type,
  :control,
  :input,
  :execution_start_to_close_timeout,
  :task_list,
  :task_priority,
  :decision_task_completed_event_id,
  :child_policy,
  :task_start_to_close_timeout,
  :tag_list,
  :lambda_role)
  include Aws::Structure
end

#decision_task_completed_event_idInteger

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartChildWorkflowExecution Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the cause of events.

Returns:

  • (Integer)


5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 5509

class StartChildWorkflowExecutionInitiatedEventAttributes < Struct.new(
  :workflow_id,
  :workflow_type,
  :control,
  :input,
  :execution_start_to_close_timeout,
  :task_list,
  :task_priority,
  :decision_task_completed_event_id,
  :child_policy,
  :task_start_to_close_timeout,
  :tag_list,
  :lambda_role)
  include Aws::Structure
end

#execution_start_to_close_timeoutString

The maximum duration for the child workflow execution. If the workflow execution isn't closed within this duration, it is timed out and force-terminated.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

Returns:

  • (String)


5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 5509

class StartChildWorkflowExecutionInitiatedEventAttributes < Struct.new(
  :workflow_id,
  :workflow_type,
  :control,
  :input,
  :execution_start_to_close_timeout,
  :task_list,
  :task_priority,
  :decision_task_completed_event_id,
  :child_policy,
  :task_start_to_close_timeout,
  :tag_list,
  :lambda_role)
  include Aws::Structure
end

#inputString

The inputs provided to the child workflow execution.

Returns:

  • (String)


5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 5509

class StartChildWorkflowExecutionInitiatedEventAttributes < Struct.new(
  :workflow_id,
  :workflow_type,
  :control,
  :input,
  :execution_start_to_close_timeout,
  :task_list,
  :task_priority,
  :decision_task_completed_event_id,
  :child_policy,
  :task_start_to_close_timeout,
  :tag_list,
  :lambda_role)
  include Aws::Structure
end

#lambda_roleString

The IAM role to attach to the child workflow execution.

Returns:

  • (String)


5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 5509

class StartChildWorkflowExecutionInitiatedEventAttributes < Struct.new(
  :workflow_id,
  :workflow_type,
  :control,
  :input,
  :execution_start_to_close_timeout,
  :task_list,
  :task_priority,
  :decision_task_completed_event_id,
  :child_policy,
  :task_start_to_close_timeout,
  :tag_list,
  :lambda_role)
  include Aws::Structure
end

#tag_listArray<String>

The list of tags to associated with the child workflow execution.

Returns:

  • (Array<String>)


5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 5509

class StartChildWorkflowExecutionInitiatedEventAttributes < Struct.new(
  :workflow_id,
  :workflow_type,
  :control,
  :input,
  :execution_start_to_close_timeout,
  :task_list,
  :task_priority,
  :decision_task_completed_event_id,
  :child_policy,
  :task_start_to_close_timeout,
  :tag_list,
  :lambda_role)
  include Aws::Structure
end

#task_listTypes::TaskList

The name of the task list used for the decision tasks of the child workflow execution.

Returns:



5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 5509

class StartChildWorkflowExecutionInitiatedEventAttributes < Struct.new(
  :workflow_id,
  :workflow_type,
  :control,
  :input,
  :execution_start_to_close_timeout,
  :task_list,
  :task_priority,
  :decision_task_completed_event_id,
  :child_policy,
  :task_start_to_close_timeout,
  :tag_list,
  :lambda_role)
  include Aws::Structure
end

#task_priorityString

The priority assigned for the 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.

Returns:

  • (String)


5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 5509

class StartChildWorkflowExecutionInitiatedEventAttributes < Struct.new(
  :workflow_id,
  :workflow_type,
  :control,
  :input,
  :execution_start_to_close_timeout,
  :task_list,
  :task_priority,
  :decision_task_completed_event_id,
  :child_policy,
  :task_start_to_close_timeout,
  :tag_list,
  :lambda_role)
  include Aws::Structure
end

#task_start_to_close_timeoutString

The maximum duration allowed for the 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.

Returns:

  • (String)


5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 5509

class StartChildWorkflowExecutionInitiatedEventAttributes < Struct.new(
  :workflow_id,
  :workflow_type,
  :control,
  :input,
  :execution_start_to_close_timeout,
  :task_list,
  :task_priority,
  :decision_task_completed_event_id,
  :child_policy,
  :task_start_to_close_timeout,
  :tag_list,
  :lambda_role)
  include Aws::Structure
end

#workflow_idString

The workflowId of the child workflow execution.

Returns:

  • (String)


5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 5509

class StartChildWorkflowExecutionInitiatedEventAttributes < Struct.new(
  :workflow_id,
  :workflow_type,
  :control,
  :input,
  :execution_start_to_close_timeout,
  :task_list,
  :task_priority,
  :decision_task_completed_event_id,
  :child_policy,
  :task_start_to_close_timeout,
  :tag_list,
  :lambda_role)
  include Aws::Structure
end

#workflow_typeTypes::WorkflowType

The type of the child workflow execution.

Returns:



5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 5509

class StartChildWorkflowExecutionInitiatedEventAttributes < Struct.new(
  :workflow_id,
  :workflow_type,
  :control,
  :input,
  :execution_start_to_close_timeout,
  :task_list,
  :task_priority,
  :decision_task_completed_event_id,
  :child_policy,
  :task_start_to_close_timeout,
  :tag_list,
  :lambda_role)
  include Aws::Structure
end