Interface DeliveryStreamProps

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

@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)", date="2025-12-01T16:02:23.356Z") @Stability(Stable) public interface DeliveryStreamProps extends software.amazon.jsii.JsiiSerializable
Properties for a new delivery stream.

Example:

 import software.amazon.awscdk.services.kinesisfirehose.*;
 Bucket bucket = new Bucket(this, "MyBucket");
 DeliveryStream stream = DeliveryStream.Builder.create(this, "MyStream")
         .destination(new S3Bucket(bucket))
         .build();
 TopicRule topicRule = TopicRule.Builder.create(this, "TopicRule")
         .sql(IotSql.fromStringAsVer20160323("SELECT * FROM 'device/+/data'"))
         .actions(List.of(
             FirehosePutRecordAction.Builder.create(stream)
                     .batchMode(true)
                     .recordSeparator(FirehoseRecordSeparator.NEWLINE)
                     .build()))
         .build();
 
  • Method Details

    • getDestination

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

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

      Default: - a name is generated by CloudFormation.

    • getEncryption

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

      Default: StreamEncryption.unencrypted()

    • getRole

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

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

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

    • getSource

      @Stability(Stable) @Nullable default ISource getSource()
      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(Stable) static DeliveryStreamProps.Builder builder()
      Returns:
      a DeliveryStreamProps.Builder of DeliveryStreamProps