Interface DeliveryStreamProps

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

@Generated(value="jsii-pacmak/1.106.0 (build e852934)", date="2025-02-12T12:32:13.774Z") @Stability(Deprecated) @Deprecated public interface DeliveryStreamProps extends software.amazon.jsii.JsiiSerializable
Deprecated.
(deprecated) Properties for a new delivery stream.

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();
 
  • Method Details

    • getDestination

      @Stability(Deprecated) @Deprecated @NotNull IDestination getDestination()
      Deprecated.
      (deprecated) The destination that this delivery stream will deliver data to.
    • getDeliveryStreamName

      @Stability(Deprecated) @Deprecated @Nullable default String getDeliveryStreamName()
      Deprecated.
      (deprecated) A name for the delivery stream.

      Default: - a name is generated by CloudFormation.

    • getEncryption

      @Stability(Deprecated) @Deprecated @Nullable default StreamEncryption getEncryption()
      Deprecated.
      (deprecated) Indicates the type of customer master key (CMK) to use for server-side encryption, if any.

      Default: StreamEncryption.unencrypted()

    • getRole

      @Stability(Deprecated) @Deprecated @Nullable default IRole getRole()
      Deprecated.
      (deprecated) The IAM role associated with this delivery stream.

      Assumed by Kinesis Data Firehose to read from sources and encrypt data server-side.

      Default: - a role will be created with default permissions.

    • getSource

      @Stability(Deprecated) @Deprecated @Nullable default ISource getSource()
      Deprecated.
      (deprecated) The Kinesis data stream to use as a source for this delivery stream.

      Default: - data must be written to the delivery stream via a direct put.

    • builder

      @Stability(Deprecated) @Deprecated static DeliveryStreamProps.Builder builder()
      Deprecated.
      Returns:
      a DeliveryStreamProps.Builder of DeliveryStreamProps