Show / Hide Table of Contents

Class LambdaFunctionParameters

(experimental) Parameters for the LambdaFunction target.

Inheritance
object
LambdaFunctionParameters
Implements
ILambdaFunctionParameters
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 (REQUEST_RESPONSE) or asynchronously (FIRE_AND_FORGET).

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

IInputTransformation

Remarks

Default: - none

Stability: Experimental

See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargetparameters.html#cfn-pipes-pipe-pipetargetparameters-inputtemplate

InvocationType

(experimental) Specify whether to invoke the Lambda Function synchronously (REQUEST_RESPONSE) or asynchronously (FIRE_AND_FORGET).

public LambdaFunctionInvocationType? InvocationType { get; set; }
Property Value

LambdaFunctionInvocationType?

Remarks

Default: LambdaFunctionInvocationType.REQUEST_RESPONSE

Stability: Experimental

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

Implements

ILambdaFunctionParameters
Back to top Generated by DocFX