interface PipeTargetLambdaFunctionParametersProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Pipes.Mixins.CfnPipePropsMixin.PipeTargetLambdaFunctionParametersProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awspipes/mixins#CfnPipePropsMixin_PipeTargetLambdaFunctionParametersProperty |
Java | software.amazon.awscdk.mixins.preview.services.pipes.mixins.CfnPipePropsMixin.PipeTargetLambdaFunctionParametersProperty |
Python | aws_cdk.mixins_preview.aws_pipes.mixins.CfnPipePropsMixin.PipeTargetLambdaFunctionParametersProperty |
TypeScript | @aws-cdk/mixins-preview » aws_pipes » mixins » CfnPipePropsMixin » 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 { mixins as pipes_mixins } from '@aws-cdk/mixins-preview/aws-pipes';
const pipeTargetLambdaFunctionParametersProperty: pipes_mixins.CfnPipePropsMixin.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