Class InvokeFunction
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.stepfunctions.tasks.InvokeFunction
- All Implemented Interfaces:
IStepFunctionsTask
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:48.104Z")
@Stability(Deprecated)
@Deprecated
public class InvokeFunction
extends software.amazon.jsii.JsiiObject
implements IStepFunctionsTask
Deprecated.
(deprecated) A Step Functions Task to invoke a Lambda function.
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();
-
Nested Class Summary
Nested ClassesNested 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
ConstructorsModifierConstructorDescriptionInvokeFunction
(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. -
Method Summary
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
-
InvokeFunction
protected InvokeFunction(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
InvokeFunction
protected InvokeFunction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated. -
InvokeFunction
@Stability(Deprecated) @Deprecated public InvokeFunction(@NotNull IFunction lambdaFunction, @Nullable InvokeFunctionProps props) Deprecated.- Parameters:
lambdaFunction
- This parameter is required.props
-
-
InvokeFunction
Deprecated.- Parameters:
lambdaFunction
- This parameter is required.
-
-
Method Details
-
bind
@Stability(Deprecated) @Deprecated @NotNull public StepFunctionsTaskConfig bind(@NotNull Task _task) Deprecated.(deprecated) Called when the task object is used in a workflow.- Specified by:
bind
in interfaceIStepFunctionsTask
- Parameters:
_task
- This parameter is required.
-
LambdaInvoke