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

@Generated(value="jsii-pacmak/1.110.0 (build 336b265)", date="2025-05-07T19:18:57.378Z") @Stability(Stable) public class LambdaInvoke extends TaskStateBase
Invoke a Lambda function as a Task.

Example:

 Function fn;
 LambdaInvoke.Builder.create(this, "Invoke with callback")
         .lambdaFunction(fn)
         .integrationPattern(IntegrationPattern.WAIT_FOR_TASK_TOKEN)
         .payload(TaskInput.fromObject(Map.of(
                 "token", JsonPath.getTaskToken(),
                 "input", JsonPath.stringAt("$.someField"))))
         .build();
 

See Also: