Interface RunLambdaTaskProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
RunLambdaTaskProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:48.172Z") @Stability(Deprecated) @Deprecated public interface RunLambdaTaskProps extends software.amazon.jsii.JsiiSerializable
Deprecated.
Use LambdaInvoke
(deprecated) Properties for RunLambdaTask.

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.stepfunctions.*;
 import software.amazon.awscdk.services.stepfunctions.tasks.*;
 TaskInput taskInput;
 RunLambdaTaskProps runLambdaTaskProps = RunLambdaTaskProps.builder()
         .clientContext("clientContext")
         .integrationPattern(ServiceIntegrationPattern.FIRE_AND_FORGET)
         .invocationType(InvocationType.REQUEST_RESPONSE)
         .payload(taskInput)
         .qualifier("qualifier")
         .build();
 

  • Method Details

    • getClientContext

      @Stability(Deprecated) @Deprecated @Nullable default String getClientContext()
      Deprecated.
      (deprecated) Client context to pass to the function.

      Default: - No context

    • getIntegrationPattern

      @Stability(Deprecated) @Deprecated @Nullable default ServiceIntegrationPattern getIntegrationPattern()
      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

    • getInvocationType

      @Stability(Deprecated) @Deprecated @Nullable default InvocationType getInvocationType()
      Deprecated.
      (deprecated) Invocation type of the Lambda function.

      Default: RequestResponse

    • getPayload

      @Stability(Deprecated) @Deprecated @Nullable default TaskInput getPayload()
      Deprecated.
      (deprecated) The JSON that you want to provide to your Lambda function as input.

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

    • getQualifier

      @Stability(Deprecated) @Deprecated @Nullable default String getQualifier()
      Deprecated.
      pass a Version or Alias object as lambdaFunction instead
      (deprecated) Version or alias of the function to be invoked.

      Default: - No qualifier

    • builder

      @Stability(Deprecated) @Deprecated static RunLambdaTaskProps.Builder builder()
      Deprecated.
      Returns:
      a RunLambdaTaskProps.Builder of RunLambdaTaskProps