@Stability(value=Deprecated) @Deprecated public static final class RunLambdaTask.Builder extends Object implements software.amazon.jsii.Builder<RunLambdaTask>
RunLambdaTask
.Modifier and Type | Method and Description |
---|---|
RunLambdaTask |
build()
Deprecated.
|
RunLambdaTask.Builder |
clientContext(String clientContext)
Deprecated.
|
static RunLambdaTask.Builder |
create(IFunction lambdaFunction)
Deprecated.
|
RunLambdaTask.Builder |
integrationPattern(ServiceIntegrationPattern integrationPattern)
Deprecated.
|
RunLambdaTask.Builder |
invocationType(InvocationType invocationType)
Deprecated.
|
RunLambdaTask.Builder |
payload(TaskInput payload)
Deprecated.
|
RunLambdaTask.Builder |
qualifier(String qualifier)
Deprecated.
pass a Version or Alias object as lambdaFunction instead
|
@Stability(value=Deprecated) @Deprecated public static RunLambdaTask.Builder create(IFunction lambdaFunction)
lambdaFunction
- This parameter is required.RunLambdaTask.Builder
.@Stability(value=Deprecated) @Deprecated public RunLambdaTask.Builder clientContext(String clientContext)
Default: - No context
clientContext
- Client context to pass to the function. This parameter is required.this
@Stability(value=Deprecated) @Deprecated public RunLambdaTask.Builder integrationPattern(ServiceIntegrationPattern integrationPattern)
The valid value for Lambda is either FIRE_AND_FORGET or WAIT_FOR_TASK_TOKEN, it determines whether to pause the workflow until a task token is returned.
If this is set to WAIT_FOR_TASK_TOKEN, the JsonPath.taskToken value must be included
somewhere in the payload and the Lambda must call
SendTaskSuccess/SendTaskFailure
using that token.
Default: FIRE_AND_FORGET
integrationPattern
- The service integration pattern indicates different ways to invoke Lambda function. This parameter is required.this
@Stability(value=Deprecated) @Deprecated public RunLambdaTask.Builder invocationType(InvocationType invocationType)
Default: RequestResponse
invocationType
- Invocation type of the Lambda function. This parameter is required.this
@Stability(value=Deprecated) @Deprecated public RunLambdaTask.Builder payload(TaskInput payload)
Default: - The state input (JSON path '$')
payload
- The JSON that you want to provide to your Lambda function as input. This parameter is required.this
@Stability(value=Deprecated) @Deprecated public RunLambdaTask.Builder qualifier(String qualifier)
Default: - No qualifier
qualifier
- Version or alias of the function to be invoked. This parameter is required.this
@Stability(value=Deprecated) @Deprecated public RunLambdaTask build()
build
in interface software.amazon.jsii.Builder<RunLambdaTask>
Copyright © 2023. All rights reserved.