Class RunLambdaTaskProps.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.RunLambdaTaskProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RunLambdaTaskProps>
- Enclosing interface:
- RunLambdaTaskProps
@Stability(Deprecated)
@Deprecated
public static final class RunLambdaTaskProps.Builder
extends Object
implements software.amazon.jsii.Builder<RunLambdaTaskProps>
Deprecated.
A builder for
RunLambdaTaskProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.clientContext(String clientContext) Deprecated.integrationPattern(ServiceIntegrationPattern integrationPattern) Deprecated.invocationType(InvocationType invocationType) Deprecated.Deprecated.Deprecated.pass a Version or Alias object as lambdaFunction instead
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
clientContext
@Stability(Deprecated) @Deprecated public RunLambdaTaskProps.Builder clientContext(String clientContext) Deprecated.Sets the value ofRunLambdaTaskProps.getClientContext()- Parameters:
clientContext- Client context to pass to the function.- Returns:
this
-
integrationPattern
@Stability(Deprecated) @Deprecated public RunLambdaTaskProps.Builder integrationPattern(ServiceIntegrationPattern integrationPattern) Deprecated.Sets the value ofRunLambdaTaskProps.getIntegrationPattern()- Parameters:
integrationPattern- The service integration pattern indicates different ways to invoke Lambda function. 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/SendTaskFailureusing that token.- Returns:
this
-
invocationType
@Stability(Deprecated) @Deprecated public RunLambdaTaskProps.Builder invocationType(InvocationType invocationType) Deprecated.Sets the value ofRunLambdaTaskProps.getInvocationType()- Parameters:
invocationType- Invocation type of the Lambda function.- Returns:
this
-
payload
Deprecated.Sets the value ofRunLambdaTaskProps.getPayload()- Parameters:
payload- The JSON that you want to provide to your Lambda function as input.- Returns:
this
-
qualifier
Deprecated.pass a Version or Alias object as lambdaFunction insteadSets the value ofRunLambdaTaskProps.getQualifier()- Parameters:
qualifier- Version or alias of the function to be invoked.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RunLambdaTaskProps>- Returns:
- a new instance of
RunLambdaTaskProps - Throws:
NullPointerException- if any required attribute was not provided
-