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

Class: Aws::SWF::Types::WorkflowExecutionTerminatedEventAttributes

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

Overview

Provides the details of the WorkflowExecutionTerminated event.

Instance Attribute Summary collapse

Instance Attribute Details

#causeString

If set, indicates that the workflow execution was automatically terminated, and specifies the cause. This happens if the parent workflow execution times out or is terminated and the child policy is set to terminate child executions.

Returns:

  • (String)


6692
6693
6694
6695
6696
6697
6698
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 6692

class WorkflowExecutionTerminatedEventAttributes < Struct.new(
  :reason,
  :details,
  :child_policy,
  :cause)
  include Aws::Structure
end

#child_policyString

The policy used for the child workflow executions of this workflow execution.

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)


6692
6693
6694
6695
6696
6697
6698
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 6692

class WorkflowExecutionTerminatedEventAttributes < Struct.new(
  :reason,
  :details,
  :child_policy,
  :cause)
  include Aws::Structure
end

#detailsString

The details provided for the termination.

Returns:

  • (String)


6692
6693
6694
6695
6696
6697
6698
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 6692

class WorkflowExecutionTerminatedEventAttributes < Struct.new(
  :reason,
  :details,
  :child_policy,
  :cause)
  include Aws::Structure
end

#reasonString

The reason provided for the termination.

Returns:

  • (String)


6692
6693
6694
6695
6696
6697
6698
# File 'gems/aws-sdk-swf/lib/aws-sdk-swf/types.rb', line 6692

class WorkflowExecutionTerminatedEventAttributes < Struct.new(
  :reason,
  :details,
  :child_policy,
  :cause)
  include Aws::Structure
end