@Stability(value=Experimental) @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,
Map<String,? extends Object> resultSelector,
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()
(experimental) Up to 3583 bytes of base64-encoded data about the invoking client to pass to the function.
|
String |
getComment()
(experimental) An optional description for this state.
|
Duration |
getHeartbeat()
(experimental) Timeout for the heartbeat.
|
String |
getInputPath()
(experimental) JSONPath expression to select part of the state to be the input to this state.
|
IntegrationPattern |
getIntegrationPattern()
(experimental) AWS Step Functions integrates with services directly in the Amazon States Language.
|
LambdaInvocationType |
getInvocationType()
(experimental) Invocation type of the Lambda function.
|
IFunction |
getLambdaFunction()
(experimental) Lambda function to invoke.
|
String |
getOutputPath()
(experimental) JSONPath expression to select select a portion of the state output to pass to the next state.
|
TaskInput |
getPayload()
(experimental) The JSON that will be supplied as input to the Lambda function.
|
Boolean |
getPayloadResponseOnly()
(experimental) Invoke the Lambda in a way that only returns the payload response without additional metadata.
|
String |
getQualifier()
(experimental) Version or alias to invoke a published version of the function.
|
String |
getResultPath()
(experimental) JSONPath expression to indicate where to inject the state's output.
|
Map<String,Object> |
getResultSelector()
(experimental) The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.
|
Boolean |
getRetryOnServiceExceptions()
(experimental) Whether to retry on Lambda service exceptions.
|
Duration |
getTimeout()
(experimental) Timeout for the state machine.
|
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, Map<String,? extends Object> resultSelector, 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()
TaskStateBasePropsDefault: - No comment
getComment in interface TaskStateBasePropspublic final Duration getHeartbeat()
TaskStateBasePropsDefault: - None
getHeartbeat in interface TaskStateBasePropspublic final String getInputPath()
TaskStateBasePropsMay also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}.
Default: - The entire task input (JSON path '$')
getInputPath in interface TaskStateBasePropspublic final IntegrationPattern getIntegrationPattern()
TaskStateBasePropsYou can control these AWS services using service integration patterns
Default: IntegrationPattern.REQUEST_RESPONSE
getIntegrationPattern in interface TaskStateBasePropshttps://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-tokenpublic final String getOutputPath()
TaskStateBasePropsMay also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}.
Default: - The entire JSON node determined by the state input, the task result, and resultPath is passed to the next state (JSON path '$')
getOutputPath in interface TaskStateBasePropspublic final String getResultPath()
TaskStateBasePropsMay also be the special value JsonPath.DISCARD, which will cause the state's input to become its output.
Default: - Replaces the entire input with the result (JSON path '$')
getResultPath in interface TaskStateBasePropspublic final Map<String,Object> getResultSelector()
TaskStateBasePropsYou can use ResultSelector to create a payload with values that are static or selected from the state's raw result.
Default: - None
getResultSelector in interface TaskStateBasePropshttps://docs.aws.amazon.com/step-functions/latest/dg/input-output-inputpath-params.html#input-output-resultselectorpublic final Duration getTimeout()
TaskStateBasePropsDefault: - None
getTimeout in interface TaskStateBaseProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.