Interface DataProcessorProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
DataProcessorProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-07-29T17:51:02.680Z") @Stability(Stable) public interface DataProcessorProps extends software.amazon.jsii.JsiiSerializable
Configure the data processor.

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 Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for DataProcessorProps
    static final class 
    An implementation for DataProcessorProps
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default Duration
    The length of time Amazon Data Firehose will buffer incoming data before calling the processor.
    default Size
    The amount of incoming data Amazon Data Firehose will buffer before calling the processor.
    default Number
    The number of times Amazon Data Firehose will retry the processor invocation after a failure due to network timeout or invocation limits.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getBufferInterval

      @Stability(Stable) @Nullable default Duration getBufferInterval()
      The length of time Amazon Data Firehose will buffer incoming data before calling the processor.

      s

      Default: Duration.minutes(1)

    • getBufferSize

      @Stability(Stable) @Nullable default Size getBufferSize()
      The amount of incoming data Amazon Data Firehose will buffer before calling the processor.

      Default: Size.mebibytes(3)

    • getRetries

      @Stability(Stable) @Nullable default Number getRetries()
      The number of times Amazon Data Firehose will retry the processor invocation after a failure due to network timeout or invocation limits.

      Default: 3

    • builder

      @Stability(Stable) static DataProcessorProps.Builder builder()
      Returns:
      a DataProcessorProps.Builder of DataProcessorProps