@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2022-12-27T20:28:49.364Z") @Stability(value=Deprecated) @Deprecated public class InvokeFunction extends software.amazon.jsii.JsiiObject implements IStepFunctionsTask
The Lambda function Arn is defined as Resource in the state machine definition.
OUTPUT: the output of this task is the return value of the Lambda Function.
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.tasks.*;
Function function_;
Object payload;
InvokeFunction invokeFunction = InvokeFunction.Builder.create(function_)
.payload(Map.of(
"payloadKey", payload))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
InvokeFunction.Builder
Deprecated.
|
software.amazon.jsii.JsiiObject.InitializationModeIStepFunctionsTask.Jsii$Default, IStepFunctionsTask.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
InvokeFunction(IFunction lambdaFunction)
Deprecated.
|
|
InvokeFunction(IFunction lambdaFunction,
InvokeFunctionProps props)
Deprecated.
|
protected |
InvokeFunction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
Deprecated.
|
protected |
InvokeFunction(software.amazon.jsii.JsiiObjectRef objRef)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
StepFunctionsTaskConfig |
bind(Task _task)
Deprecated.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected InvokeFunction(software.amazon.jsii.JsiiObjectRef objRef)
protected InvokeFunction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Deprecated) @Deprecated public InvokeFunction(@NotNull IFunction lambdaFunction, @Nullable InvokeFunctionProps props)
lambdaFunction - This parameter is required.props - @Stability(value=Deprecated) @Deprecated public InvokeFunction(@NotNull IFunction lambdaFunction)
lambdaFunction - This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull public StepFunctionsTaskConfig bind(@NotNull Task _task)
bind in interface IStepFunctionsTask_task - This parameter is required.Copyright © 2022. All rights reserved.