Class RunLambdaTask.Builder

java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.RunLambdaTask.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<RunLambdaTask>
Enclosing class:
RunLambdaTask

@Stability(Deprecated) @Deprecated public static final class RunLambdaTask.Builder extends Object implements software.amazon.jsii.Builder<RunLambdaTask>
Deprecated.
(deprecated) A fluent builder for RunLambdaTask.
  • Method Details

    • create

      @Stability(Deprecated) @Deprecated public static RunLambdaTask.Builder create(IFunction lambdaFunction)
      Deprecated.
      Parameters:
      lambdaFunction - This parameter is required.
      Returns:
      a new instance of RunLambdaTask.Builder.
    • clientContext

      @Stability(Deprecated) @Deprecated public RunLambdaTask.Builder clientContext(String clientContext)
      Deprecated.
      (deprecated) Client context to pass to the function.

      Default: - No context

      Parameters:
      clientContext - Client context to pass to the function. This parameter is required.
      Returns:
      this
    • integrationPattern

      @Stability(Deprecated) @Deprecated public RunLambdaTask.Builder integrationPattern(ServiceIntegrationPattern integrationPattern)
      Deprecated.
      (deprecated) The service integration pattern indicates different ways to invoke Lambda function.

      The valid value for Lambda is either FIRE_AND_FORGET or WAIT_FOR_TASK_TOKEN, it determines whether to pause the workflow until a task token is returned.

      If this is set to WAIT_FOR_TASK_TOKEN, the JsonPath.taskToken value must be included somewhere in the payload and the Lambda must call SendTaskSuccess/SendTaskFailure using that token.

      Default: FIRE_AND_FORGET

      Parameters:
      integrationPattern - The service integration pattern indicates different ways to invoke Lambda function. This parameter is required.
      Returns:
      this
    • invocationType

      @Stability(Deprecated) @Deprecated public RunLambdaTask.Builder invocationType(InvocationType invocationType)
      Deprecated.
      (deprecated) Invocation type of the Lambda function.

      Default: RequestResponse

      Parameters:
      invocationType - Invocation type of the Lambda function. This parameter is required.
      Returns:
      this
    • payload

      @Stability(Deprecated) @Deprecated public RunLambdaTask.Builder payload(TaskInput payload)
      Deprecated.
      (deprecated) The JSON that you want to provide to your Lambda function as input.

      Default: - The state input (JSON path '$')

      Parameters:
      payload - The JSON that you want to provide to your Lambda function as input. This parameter is required.
      Returns:
      this
    • qualifier

      @Stability(Deprecated) @Deprecated public RunLambdaTask.Builder qualifier(String qualifier)
      Deprecated.
      pass a Version or Alias object as lambdaFunction instead
      (deprecated) Version or alias of the function to be invoked.

      Default: - No qualifier

      Parameters:
      qualifier - Version or alias of the function to be invoked. This parameter is required.
      Returns:
      this
    • build

      @Stability(Deprecated) @Deprecated public RunLambdaTask build()
      Deprecated.
      Specified by:
      build in interface software.amazon.jsii.Builder<RunLambdaTask>
      Returns:
      a newly built instance of RunLambdaTask.