class LambdaFunctionProcessor
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.KinesisFirehose.LambdaFunctionProcessor |
Java | software.amazon.awscdk.services.kinesisfirehose.LambdaFunctionProcessor |
Python | aws_cdk.aws_kinesisfirehose.LambdaFunctionProcessor |
TypeScript (source) | @aws-cdk/aws-kinesisfirehose » LambdaFunctionProcessor |
Implements
IData
Use an AWS Lambda function to transform records.
Example
#!/usr/bin/env node
Initializer
new LambdaFunctionProcessor(lambdaFunction: IFunction, props?: DataProcessorProps)
Parameters
- lambdaFunction
IFunction
- props
Data
Processor Props
Properties
Name | Type | Description |
---|---|---|
props | Data | The constructor props of the LambdaFunctionProcessor. |
props
Type:
Data
The constructor props of the LambdaFunctionProcessor.
Methods
Name | Description |
---|---|
bind(_scope, options) | Binds this processor to a destination of a delivery stream. |
bind(_scope, options)
public bind(_scope: Construct, options: DataProcessorBindOptions): DataProcessorConfig
Parameters
- _scope
Construct
- options
Data
Processor Bind Options
Returns
Binds this processor to a destination of a delivery stream.
Implementers should use this method to grant processor invocation permissions to the provided stream and return the necessary configuration to register as a processor.