interface LambdaProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoTAnalytics.Mixins.CfnPipelinePropsMixin.LambdaProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiotanalytics/mixins#CfnPipelinePropsMixin_LambdaProperty |
Java | software.amazon.awscdk.mixins.preview.services.iotanalytics.mixins.CfnPipelinePropsMixin.LambdaProperty |
Python | aws_cdk.mixins_preview.aws_iotanalytics.mixins.CfnPipelinePropsMixin.LambdaProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iotanalytics » mixins » CfnPipelinePropsMixin » 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 { mixins as iotanalytics_mixins } from '@aws-cdk/mixins-preview/aws-iotanalytics';
const lambdaProperty: iotanalytics_mixins.CfnPipelinePropsMixin.LambdaProperty = {
batchSize: 123,
lambdaName: 'lambdaName',
name: 'name',
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
(optional)
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
(optional)
The name of the Lambda function that is run on the message.
name?
Type:
string
(optional)
The name of the 'lambda' activity.
next?
Type:
string
(optional)
The next activity in the pipeline.

.NET
Go
Java
Python
TypeScript