Class LambdaFunctionParameters
(experimental) Parameters for the LambdaFunction target.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Pipes.Targets.Alpha
Assembly: Amazon.CDK.AWS.Pipes.Targets.Alpha.dll
Syntax (csharp)
public class LambdaFunctionParameters : ILambdaFunctionParameters
Syntax (vb)
Public Class LambdaFunctionParameters 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
LambdaFunctionParameters() | (experimental) Parameters for the LambdaFunction target. |
Properties
InputTransformation | (experimental) The input transformation to apply to the message before sending it to the target. |
InvocationType | (experimental) Specify whether to invoke the Lambda Function synchronously ( |
Constructors
LambdaFunctionParameters()
(experimental) Parameters for the LambdaFunction target.
public LambdaFunctionParameters()
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
});
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
InvocationType
(experimental) Specify whether to invoke the Lambda Function synchronously (REQUEST_RESPONSE
) or asynchronously (FIRE_AND_FORGET
).
public LambdaFunctionInvocationType? InvocationType { get; set; }
Property Value
Remarks
Default: LambdaFunctionInvocationType.REQUEST_RESPONSE
Stability: Experimental