Class CfnPipePropsMixin.PipeTargetLambdaFunctionParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pipes.CfnPipePropsMixin.PipeTargetLambdaFunctionParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipePropsMixin.PipeTargetLambdaFunctionParametersProperty>
- Enclosing interface:
CfnPipePropsMixin.PipeTargetLambdaFunctionParametersProperty
@Stability(Stable)
public static final class CfnPipePropsMixin.PipeTargetLambdaFunctionParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipePropsMixin.PipeTargetLambdaFunctionParametersProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.invocationType(String invocationType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
invocationType
@Stability(Stable) public CfnPipePropsMixin.PipeTargetLambdaFunctionParametersProperty.Builder invocationType(String invocationType) - Parameters:
invocationType- Specify whether to invoke the function synchronously or asynchronously.REQUEST_RESPONSE(default) - Invoke synchronously. This corresponds to theRequestResponseoption in theInvocationTypeparameter for the Lambda Invoke API.FIRE_AND_FORGET- Invoke asynchronously. This corresponds to theEventoption in theInvocationTypeparameter for the Lambda Invoke API.
For more information, see Invocation types in the Amazon EventBridge User Guide .
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipePropsMixin.PipeTargetLambdaFunctionParametersProperty>- Returns:
- a new instance of
CfnPipePropsMixin.PipeTargetLambdaFunctionParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-