java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.stepfunctions.tasks.RunLambdaTask
All Implemented Interfaces:
IStepFunctionsTask, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-31T18:44:19.844Z") @Stability(Deprecated) @Deprecated public class RunLambdaTask extends software.amazon.jsii.JsiiObject implements IStepFunctionsTask
Deprecated.
Use `LambdaInvoke`
(deprecated) Invoke a Lambda function as a Task.

OUTPUT: the output of this task is either the return value of Lambda's Invoke call, or whatever the Lambda Function posted back using SendTaskSuccess/SendTaskFailure in waitForTaskToken mode.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.lambda.*;
 import software.amazon.awscdk.services.stepfunctions.*;
 import software.amazon.awscdk.services.stepfunctions.tasks.*;
 Function function_;
 TaskInput taskInput;
 RunLambdaTask runLambdaTask = RunLambdaTask.Builder.create(function_)
         .clientContext("clientContext")
         .integrationPattern(ServiceIntegrationPattern.FIRE_AND_FORGET)
         .invocationType(InvocationType.REQUEST_RESPONSE)
         .payload(taskInput)
         .qualifier("qualifier")
         .build();
 

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Deprecated.

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.stepfunctions.IStepFunctionsTask

    IStepFunctionsTask.Jsii$Default, IStepFunctionsTask.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
    RunLambdaTask(software.amazon.awscdk.services.lambda.IFunction lambdaFunction)
    Deprecated.
     
    RunLambdaTask(software.amazon.awscdk.services.lambda.IFunction lambdaFunction, RunLambdaTaskProps props)
    Deprecated.
    protected
    RunLambdaTask(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    Deprecated.
     
    protected
    RunLambdaTask(software.amazon.jsii.JsiiObjectRef objRef)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    bind(Task _task)
    Deprecated.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • RunLambdaTask

      protected RunLambdaTask(software.amazon.jsii.JsiiObjectRef objRef)
      Deprecated.
    • RunLambdaTask

      protected RunLambdaTask(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      Deprecated.
    • RunLambdaTask

      @Stability(Deprecated) @Deprecated public RunLambdaTask(@NotNull software.amazon.awscdk.services.lambda.IFunction lambdaFunction, @Nullable RunLambdaTaskProps props)
      Deprecated.
      Parameters:
      lambdaFunction - This parameter is required.
      props -
    • RunLambdaTask

      @Stability(Deprecated) @Deprecated public RunLambdaTask(@NotNull software.amazon.awscdk.services.lambda.IFunction lambdaFunction)
      Deprecated.
      Parameters:
      lambdaFunction - This parameter is required.
  • Method Details