Class LambdaFunctionParameters
(experimental) Parameters for the LambdaFunction target.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Pipes.Targets.Alpha
Assembly: Amazon.CDK.AWS.Pipes.Targets.Alpha.dll
Syntax (csharp)
public class LambdaFunctionParameters : Object, ILambdaFunctionParameters
Syntax (vb)
Public Class LambdaFunctionParameters
Inherits Object
Implements ILambdaFunctionParameters
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
Queue sourceQueue;
IFunction targetFunction;
var pipeTarget = new LambdaFunction(targetFunction, new LambdaFunctionParameters {
InvocationType = LambdaFunctionInvocationType.FIRE_AND_FORGET
});
var pipe = new Pipe(this, "Pipe", new PipeProps {
Source = new SqsSource(sourceQueue),
Target = pipeTarget
});
Synopsis
Constructors
Lambda |
Properties
Input |
(experimental) The input transformation to apply to the message before sending it to the target. |
Invocation |
(experimental) Specify whether to invoke the Lambda Function synchronously ( |
Constructors
LambdaFunctionParameters()
public LambdaFunctionParameters()
Properties
InputTransformation
(experimental) The input transformation to apply to the message before sending it to the target.
public IInputTransformation InputTransformation { get; set; }
Property Value
Remarks
Default: - none
Stability: Experimental
InvocationType
(experimental) Specify whether to invoke the Lambda Function synchronously (REQUEST_RESPONSE
) or asynchronously (FIRE_AND_FORGET
).
public Nullable<LambdaFunctionInvocationType> InvocationType { get; set; }
Property Value
System.
Remarks
Default: LambdaFunctionInvocationType.REQUEST_RESPONSE
Stability: Experimental