java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
All Implemented Interfaces:
software.amazon.awscdk.core.IConstruct, software.amazon.awscdk.core.IDependable, IChainable, INextable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-31T18:44:19.779Z") @Stability(Stable) public class LambdaInvoke extends TaskStateBase
Invoke a Lambda function as a Task.

Example:

 import software.amazon.awscdk.services.lambda.*;
 Function orderFn;
 LambdaInvoke submitJob = LambdaInvoke.Builder.create(this, "InvokeOrderProcessor")
         .lambdaFunction(orderFn)
         .payload(TaskInput.fromObject(Map.of(
                 "OrderId", JsonPath.stringAt("$.OrderId"))))
         .build();
 

See Also:
  • Constructor Details

    • LambdaInvoke

      protected LambdaInvoke(software.amazon.jsii.JsiiObjectRef objRef)
    • LambdaInvoke

      protected LambdaInvoke(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • LambdaInvoke

      @Stability(Stable) public LambdaInvoke(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull LambdaInvokeProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details