interface PipeTargetLambdaFunctionParametersProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Pipes.CfnPipe.PipeTargetLambdaFunctionParametersProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awspipes#CfnPipe_PipeTargetLambdaFunctionParametersProperty |
Java | software.amazon.awscdk.services.pipes.CfnPipe.PipeTargetLambdaFunctionParametersProperty |
Python | aws_cdk.aws_pipes.CfnPipe.PipeTargetLambdaFunctionParametersProperty |
TypeScript | aws-cdk-lib » aws_pipes » CfnPipe » PipeTargetLambdaFunctionParametersProperty |
The parameters for using a Lambda function as a target.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pipes as pipes } from 'aws-cdk-lib';
const pipeTargetLambdaFunctionParametersProperty: pipes.CfnPipe.PipeTargetLambdaFunctionParametersProperty = {
invocationType: 'invocationType',
};
Properties
| Name | Type | Description |
|---|---|---|
| invocation | string | Specify whether to invoke the function synchronously or asynchronously. |
invocationType?
Type:
string
(optional)
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 .

.NET
Go
Java
Python
TypeScript