interface LambdaProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoTAnalytics.CfnPipeline.LambdaProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiotanalytics#CfnPipeline_LambdaProperty |
![]() | software.amazon.awscdk.services.iotanalytics.CfnPipeline.LambdaProperty |
![]() | aws_cdk.aws_iotanalytics.CfnPipeline.LambdaProperty |
![]() | 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
Name | Type | Description |
---|---|---|
batch | number | The number of messages passed to the Lambda function for processing. |
lambda | string | The name of the Lambda function that is run on the message. |
name | string | The name of the 'lambda' activity. |
next? | string | The 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.