aws-cdk-lib.aws_iotanalytics.CfnPipeline.LambdaProperty

interface LambdaProperty

LanguageType name
.NETAmazon.CDK.AWS.IoTAnalytics.CfnPipeline.LambdaProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiotanalytics#CfnPipeline_LambdaProperty
Javasoftware.amazon.awscdk.services.iotanalytics.CfnPipeline.LambdaProperty
Pythonaws_cdk.aws_iotanalytics.CfnPipeline.LambdaProperty
TypeScript aws-cdk-lib » aws_iotanalytics » CfnPipeline » LambdaProperty

An activity that runs a Lambda function to modify the message.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotanalytics as iotanalytics } from 'aws-cdk-lib';
const lambdaProperty: iotanalytics.CfnPipeline.LambdaProperty = {
  batchSize: 123,
  lambdaName: 'lambdaName',
  name: 'name',

  // the properties below are optional
  next: 'next',
};

Properties

NameTypeDescription
batchSizenumberThe number of messages passed to the Lambda function for processing.
lambdaNamestringThe name of the Lambda function that is run on the message.
namestringThe name of the 'lambda' activity.
next?stringThe next activity in the pipeline.

batchSize

Type: number

The number of messages passed to the Lambda function for processing.

The AWS Lambda function must be able to process all of these messages within five minutes, which is the maximum timeout duration for Lambda functions.


lambdaName

Type: string

The name of the Lambda function that is run on the message.


name

Type: string

The name of the 'lambda' activity.


next?

Type: string (optional)

The next activity in the pipeline.