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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDeliveryStreamPropsstatic final classAn implementation forDeliveryStreamProps -
Method Summary
Modifier and TypeMethodDescriptionstatic DeliveryStreamProps.Builderbuilder()default StringA name for the delivery stream.The destination that this delivery stream will deliver data to.default StreamEncryptionIndicates the type of customer master key (CMK) to use for server-side encryption, if any.default IRolegetRole()The IAM role associated with this delivery stream.default ISourceThe Kinesis data stream to use as a source for this delivery stream.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestination
The destination that this delivery stream will deliver data to. -
getDeliveryStreamName
A name for the delivery stream.Default: - a name is generated by CloudFormation.
-
getEncryption
Indicates the type of customer master key (CMK) to use for server-side encryption, if any.Default: StreamEncryption.unencrypted()
-
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
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
- Returns:
- a
DeliveryStreamProps.BuilderofDeliveryStreamProps
-