@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:43.315Z") @Stability(value=Experimental) public interface LambdaInvokeProps extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
| Modifier and Type | Interface and Description |
|---|---|
static class |
LambdaInvokeProps.Builder
A builder for
LambdaInvokeProps |
static class |
LambdaInvokeProps.Jsii$Proxy
An implementation for
LambdaInvokeProps |
| Modifier and Type | Method and Description |
|---|---|
static LambdaInvokeProps.Builder |
builder() |
default String |
getClientContext()
(experimental) Up to 3583 bytes of base64-encoded data about the invoking client to pass to the function.
|
default LambdaInvocationType |
getInvocationType()
(experimental) Invocation type of the Lambda function.
|
IFunction |
getLambdaFunction()
(experimental) Lambda function to invoke.
|
default TaskInput |
getPayload()
(experimental) The JSON that will be supplied as input to the Lambda function.
|
default Boolean |
getPayloadResponseOnly()
(experimental) Invoke the Lambda in a way that only returns the payload response without additional metadata.
|
default String |
getQualifier()
(experimental) Version or alias to invoke a published version of the function.
|
default Boolean |
getRetryOnServiceExceptions()
(experimental) Whether to retry on Lambda service exceptions.
|
getComment, getHeartbeat, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getTimeout@Stability(value=Experimental) @NotNull IFunction getLambdaFunction()
@Stability(value=Experimental) @Nullable default String getClientContext()
Default: - No context
@Stability(value=Experimental) @Nullable default LambdaInvocationType getInvocationType()
Default: InvocationType.REQUEST_RESPONSE
@Stability(value=Experimental) @Nullable default TaskInput getPayload()
Default: - The state input (JSON path '$')
@Stability(value=Experimental) @Nullable default Boolean getPayloadResponseOnly()
The payloadResponseOnly property cannot be used if integrationPattern, invocationType,
clientContext, or qualifier are specified.
It always uses the REQUEST_RESPONSE behavior.
Default: false
@Stability(value=Experimental) @Nullable default String getQualifier()
You only need to supply this if you want the version of the Lambda Function to depend
on data in the state machine state. If not, you can pass the appropriate Alias or Version object
directly as the lambdaFunction argument.
Default: - Version or alias inherent to the `lambdaFunction` object.
@Stability(value=Experimental) @Nullable default Boolean getRetryOnServiceExceptions()
This handles Lambda.ServiceException, Lambda.AWSLambdaException and
Lambda.SdkClientException with an interval of 2 seconds, a back-off rate
of 2 and 6 maximum attempts.
Default: true
https://docs.aws.amazon.com/step-functions/latest/dg/bp-lambda-serviceexception.html@Stability(value=Experimental) static LambdaInvokeProps.Builder builder()
builder in interface TaskStateBasePropsLambdaInvokeProps.Builder of LambdaInvokePropsCopyright © 2021. All rights reserved.