Class LambdaFunctionProcessor
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.kinesisfirehose.alpha.LambdaFunctionProcessor
- All Implemented Interfaces:
IDataProcessor
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-19T18:01:45.145Z")
@Stability(Deprecated)
@Deprecated
public class LambdaFunctionProcessor
extends software.amazon.jsii.JsiiObject
implements IDataProcessor
Deprecated.
(deprecated) Use an AWS Lambda function to transform records.
Example:
Bucket bucket; // Provide a Lambda function that will transform records before delivery, with custom // buffering and retry configuration Function lambdaFunction = Function.Builder.create(this, "Processor") .runtime(Runtime.NODEJS_LATEST) .handler("index.handler") .code(Code.fromAsset(join(__dirname, "process-records"))) .build(); LambdaFunctionProcessor lambdaProcessor = LambdaFunctionProcessor.Builder.create(lambdaFunction) .bufferInterval(Duration.minutes(5)) .bufferSize(Size.mebibytes(5)) .retries(5) .build(); S3Bucket s3Destination = S3Bucket.Builder.create(bucket) .processor(lambdaProcessor) .build(); DeliveryStream.Builder.create(this, "Delivery Stream") .destination(s3Destination) .build();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.kinesisfirehose.alpha.IDataProcessor
IDataProcessor.Jsii$Default, IDataProcessor.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionLambdaFunctionProcessor
(IFunction lambdaFunction) Deprecated.LambdaFunctionProcessor
(IFunction lambdaFunction, DataProcessorProps props) Deprecated.protected
LambdaFunctionProcessor
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protected
LambdaFunctionProcessor
(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbind
(software.constructs.Construct _scope, DataProcessorBindOptions options) Deprecated.getProps()
Deprecated.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
LambdaFunctionProcessor
protected LambdaFunctionProcessor(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
LambdaFunctionProcessor
protected LambdaFunctionProcessor(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated. -
LambdaFunctionProcessor
@Stability(Deprecated) @Deprecated public LambdaFunctionProcessor(@NotNull IFunction lambdaFunction, @Nullable DataProcessorProps props) Deprecated.- Parameters:
lambdaFunction
- This parameter is required.props
- The constructor props of the DataProcessor.
-
LambdaFunctionProcessor
@Stability(Deprecated) @Deprecated public LambdaFunctionProcessor(@NotNull IFunction lambdaFunction) Deprecated.- Parameters:
lambdaFunction
- This parameter is required.
-
-
Method Details
-
bind
@Stability(Deprecated) @Deprecated @NotNull public DataProcessorConfig bind(@NotNull software.constructs.Construct _scope, @NotNull DataProcessorBindOptions options) Deprecated.(deprecated) 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.
- Specified by:
bind
in interfaceIDataProcessor
- Parameters:
_scope
- This parameter is required.options
- This parameter is required.
-
getProps
Deprecated.(deprecated) The constructor props of the LambdaFunctionProcessor.- Specified by:
getProps
in interfaceIDataProcessor
-