Class LambdaFunction.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.targets.alpha.LambdaFunction.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LambdaFunction>
- Enclosing class:
LambdaFunction
@Stability(Experimental)
public static final class LambdaFunction.Builder
extends Object
implements software.amazon.jsii.Builder<LambdaFunction>
(experimental) A fluent builder for
LambdaFunction.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static LambdaFunction.BuilderinputTransformation(IInputTransformation inputTransformation) (experimental) The input transformation to apply to the message before sending it to the target.invocationType(LambdaFunctionInvocationType invocationType) (experimental) Specify whether to invoke the Lambda Function synchronously (REQUEST_RESPONSE) or asynchronously (FIRE_AND_FORGET).
-
Method Details
-
create
- Parameters:
lambdaFunction- This parameter is required.- Returns:
- a new instance of
LambdaFunction.Builder.
-
inputTransformation
@Stability(Experimental) public LambdaFunction.Builder inputTransformation(IInputTransformation inputTransformation) (experimental) The input transformation to apply to the message before sending it to the target.Default: - none
- Parameters:
inputTransformation- The input transformation to apply to the message before sending it to the target. This parameter is required.- Returns:
this- See Also:
-
invocationType
@Stability(Experimental) public LambdaFunction.Builder invocationType(LambdaFunctionInvocationType invocationType) (experimental) Specify whether to invoke the Lambda Function synchronously (REQUEST_RESPONSE) or asynchronously (FIRE_AND_FORGET).Default: LambdaFunctionInvocationType.REQUEST_RESPONSE
- Parameters:
invocationType- Specify whether to invoke the Lambda Function synchronously (REQUEST_RESPONSE) or asynchronously (FIRE_AND_FORGET). This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LambdaFunction>- Returns:
- a newly built instance of
LambdaFunction.
-