Method: Aws::SWF::Types::StartWorkflowExecutionInput#lambda_role

Defined in:
lib/aws-sdk-swf/types.rb

#lambda_roleString

The IAM role to attach to this workflow execution.

<note markdown=“1”> Executions of this workflow type need IAM roles to invoke Lambda functions. If you don’t attach an IAM role, any attempt to schedule a Lambda task fails. This results in a ‘ScheduleLambdaFunctionFailed` history event. For more information, see

docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html][1

in the *Amazon SWF Developer Guide*.

</note>

[1]: docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html

Returns:

  • (String)


6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
# File 'lib/aws-sdk-swf/types.rb', line 6085

class StartWorkflowExecutionInput < Struct.new(
  :domain,
  :workflow_id,
  :workflow_type,
  :task_list,
  :task_priority,
  :input,
  :execution_start_to_close_timeout,
  :tag_list,
  :task_start_to_close_timeout,
  :child_policy,
  :lambda_role)
  SENSITIVE = []
  include Aws::Structure
end