Class InvokeFunction.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.InvokeFunction.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InvokeFunction>
- Enclosing class:
- InvokeFunction
@Stability(Deprecated)
@Deprecated
public static final class InvokeFunction.Builder
extends Object
implements software.amazon.jsii.Builder<InvokeFunction>
Deprecated.
(deprecated) A fluent builder for
InvokeFunction
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.static InvokeFunction.Builder
Deprecated.Deprecated.
-
Method Details
-
create
@Stability(Deprecated) @Deprecated public static InvokeFunction.Builder create(IFunction lambdaFunction) Deprecated.- Parameters:
lambdaFunction
- This parameter is required.- Returns:
- a new instance of
InvokeFunction.Builder
.
-
payload
@Stability(Deprecated) @Deprecated public InvokeFunction.Builder payload(Map<String, ? extends Object> payload) Deprecated.(deprecated) The JSON that you want to provide to your Lambda function as input.This parameter is named as payload to keep consistent with RunLambdaTask class.
Default: - The JSON data indicated by the task's InputPath is used as payload
- Parameters:
payload
- The JSON that you want to provide to your Lambda function as input. This parameter is required.- Returns:
this
-
build
Deprecated.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<InvokeFunction>
- Returns:
- a newly built instance of
InvokeFunction
.
-