Show / Hide Table of Contents

Enum LambdaFunctionInvocationType

(experimental) InvocationType for invoking the Lambda Function.

Namespace: Amazon.CDK.AWS.Pipes.Targets.Alpha
Assembly: Amazon.CDK.AWS.Pipes.Targets.Alpha.dll
Syntax (csharp)
public enum LambdaFunctionInvocationType
Syntax (vb)
Public Enum LambdaFunctionInvocationType
Remarks

Stability: Experimental

See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargetlambdafunctionparameters.html

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

Fields

FIRE_AND_FORGET

(experimental) Invoke Lambda Function asynchronously (Invoke).

REQUEST_RESPONSE

(experimental) Invoke Lambda Function synchronously (Invoke) and wait for the response.

Fields

Name Description
FIRE_AND_FORGET

(experimental) Invoke Lambda Function asynchronously (Invoke).

REQUEST_RESPONSE

(experimental) Invoke Lambda Function synchronously (Invoke) and wait for the response.

Back to top Generated by DocFX