@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:50.395Z") @Deprecated public class RunLambdaTask extends software.amazon.jsii.JsiiObject implements IStepFunctionsTask
OUTPUT: the output of this task is either the return value of Lambda's
Invoke call, or whatever the Lambda Function posted back using
SendTaskSuccess/SendTaskFailure
in waitForTaskToken
mode.
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.*; import software.amazon.awscdk.services.stepfunctions.tasks.*; Function function_; TaskInput taskInput; RunLambdaTask runLambdaTask = RunLambdaTask.Builder.create(function_) .clientContext("clientContext") .integrationPattern(ServiceIntegrationPattern.FIRE_AND_FORGET) .invocationType(InvocationType.REQUEST_RESPONSE) .payload(taskInput) .qualifier("qualifier") .build();
Modifier and Type | Class and Description |
---|---|
static class |
RunLambdaTask.Builder
Deprecated.
|
IStepFunctionsTask.Jsii$Default, IStepFunctionsTask.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
|
RunLambdaTask(IFunction lambdaFunction,
RunLambdaTaskProps props)
Deprecated.
|
protected |
RunLambdaTask(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
Deprecated.
|
protected |
RunLambdaTask(software.amazon.jsii.JsiiObjectRef objRef)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
StepFunctionsTaskConfig |
bind(Task _task)
Deprecated.
|
protected RunLambdaTask(software.amazon.jsii.JsiiObjectRef objRef)
protected RunLambdaTask(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Deprecated public RunLambdaTask(IFunction lambdaFunction, RunLambdaTaskProps props)
lambdaFunction
- This parameter is required.props
- @Deprecated public StepFunctionsTaskConfig bind(Task _task)
bind
in interface IStepFunctionsTask
_task
- This parameter is required.