@Stability(value=Stable) @Internal public static final class LambdaInvokeProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LambdaInvokeProps
LambdaInvokePropssoftware.amazon.jsii.JsiiObject.InitializationModeLambdaInvokeProps.Builder, LambdaInvokeProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(IFunction lambdaFunction,
String clientContext,
LambdaInvocationType invocationType,
TaskInput payload,
Boolean payloadResponseOnly,
String qualifier,
Boolean retryOnServiceExceptions,
String comment,
Duration heartbeat,
String inputPath,
IntegrationPattern integrationPattern,
String outputPath,
String resultPath,
Duration timeout)
Constructor that initializes the object based on literal property values passed by the
LambdaInvokeProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getClientContext()
Up to 3583 bytes of base64-encoded data about the invoking client to pass to the function.
|
String |
getComment() |
Duration |
getHeartbeat() |
String |
getInputPath() |
IntegrationPattern |
getIntegrationPattern() |
LambdaInvocationType |
getInvocationType()
Invocation type of the Lambda function.
|
IFunction |
getLambdaFunction()
Lambda function to invoke.
|
String |
getOutputPath() |
TaskInput |
getPayload()
The JSON that will be supplied as input to the Lambda function.
|
Boolean |
getPayloadResponseOnly()
Invoke the Lambda in a way that only returns the payload response without additional metadata.
|
String |
getQualifier()
Version or alias to invoke a published version of the function.
|
String |
getResultPath() |
Boolean |
getRetryOnServiceExceptions()
Whether to retry on Lambda service exceptions.
|
Duration |
getTimeout() |
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(IFunction lambdaFunction, String clientContext, LambdaInvocationType invocationType, TaskInput payload, Boolean payloadResponseOnly, String qualifier, Boolean retryOnServiceExceptions, String comment, Duration heartbeat, String inputPath, IntegrationPattern integrationPattern, String outputPath, String resultPath, Duration timeout)
LambdaInvokeProps.Builder.public final IFunction getLambdaFunction()
LambdaInvokePropsgetLambdaFunction in interface LambdaInvokePropspublic final String getClientContext()
LambdaInvokePropsDefault: - No context
getClientContext in interface LambdaInvokePropspublic final LambdaInvocationType getInvocationType()
LambdaInvokePropsDefault: InvocationType.REQUEST_RESPONSE
getInvocationType in interface LambdaInvokePropspublic final TaskInput getPayload()
LambdaInvokePropsDefault: - The state input (JSON path '$')
getPayload in interface LambdaInvokePropspublic final Boolean getPayloadResponseOnly()
LambdaInvokeProps
The payloadResponseOnly property cannot be used if integrationPattern, invocationType,
clientContext, or qualifier are specified.
It always uses the REQUEST_RESPONSE behavior.
Default: false
getPayloadResponseOnly in interface LambdaInvokePropspublic final String getQualifier()
LambdaInvokeProps
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.
getQualifier in interface LambdaInvokePropspublic final Boolean getRetryOnServiceExceptions()
LambdaInvokeProps
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
getRetryOnServiceExceptions in interface LambdaInvokePropshttps://docs.aws.amazon.com/step-functions/latest/dg/bp-lambda-serviceexception.htmlpublic final String getComment()
getComment in interface TaskStateBasePropspublic final Duration getHeartbeat()
getHeartbeat in interface TaskStateBasePropspublic final String getInputPath()
getInputPath in interface TaskStateBasePropspublic final IntegrationPattern getIntegrationPattern()
getIntegrationPattern in interface TaskStateBasePropspublic final String getOutputPath()
getOutputPath in interface TaskStateBasePropspublic final String getResultPath()
getResultPath in interface TaskStateBasePropspublic final Duration getTimeout()
getTimeout in interface TaskStateBaseProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.