Interface LambdaFunctionParameters
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LambdaFunctionParameters.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-10-31T19:13:08.357Z")
@Stability(Experimental)
public interface LambdaFunctionParameters
extends software.amazon.jsii.JsiiSerializable
(experimental) Parameters for the LambdaFunction target.
Example:
Queue sourceQueue; IFunction targetFunction; LambdaFunction pipeTarget = LambdaFunction.Builder.create(targetFunction) .invocationType(LambdaFunctionInvocationType.FIRE_AND_FORGET) .build(); Pipe pipe = Pipe.Builder.create(this, "Pipe") .source(new SqsSource(sourceQueue)) .target(pipeTarget) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forLambdaFunctionParameters
static final class
An implementation forLambdaFunctionParameters
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default IInputTransformation
(experimental) The input transformation to apply to the message before sending it to the target.default LambdaFunctionInvocationType
(experimental) Specify whether to invoke the Lambda Function synchronously (REQUEST_RESPONSE
) or asynchronously (FIRE_AND_FORGET
).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInputTransformation
(experimental) The input transformation to apply to the message before sending it to the target.Default: - none
- See Also:
-
getInvocationType
(experimental) Specify whether to invoke the Lambda Function synchronously (REQUEST_RESPONSE
) or asynchronously (FIRE_AND_FORGET
).Default: LambdaFunctionInvocationType.REQUEST_RESPONSE
- See Also:
-
builder
- Returns:
- a
LambdaFunctionParameters.Builder
ofLambdaFunctionParameters
-