Interface IDeliveryStreamProps
(experimental) Properties for a new delivery stream.
Namespace: Amazon.CDK.AWS.KinesisFirehose.Alpha
Assembly: Amazon.CDK.AWS.KinesisFirehose.Alpha.dll
Syntax (csharp)
public interface IDeliveryStreamProps
Syntax (vb)
Public Interface IDeliveryStreamProps
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.KinesisFirehose.Alpha;
using Amazon.CDK.AWS.KinesisFirehose.Destinations.Alpha;
var bucket = new Bucket(this, "MyBucket");
var stream = new DeliveryStream(this, "MyStream", new DeliveryStreamProps {
Destination = new S3Bucket(bucket)
});
var topicRule = new TopicRule(this, "TopicRule", new TopicRuleProps {
Sql = IotSql.FromStringAsVer20160323("SELECT * FROM 'device/+/data'"),
Actions = new [] {
new FirehosePutRecordAction(stream, new FirehosePutRecordActionProps {
BatchMode = true,
RecordSeparator = FirehoseRecordSeparator.NEWLINE
}) }
});
Synopsis
Properties
DeliveryStreamName | (experimental) A name for the delivery stream. |
Destination | (experimental) The destination that this delivery stream will deliver data to. |
Encryption | (experimental) Indicates the type of customer master key (CMK) to use for server-side encryption, if any. |
Role | (experimental) The IAM role associated with this delivery stream. |
SourceStream | (experimental) The Kinesis data stream to use as a source for this delivery stream. |
Properties
DeliveryStreamName
(experimental) A name for the delivery stream.
virtual string DeliveryStreamName { get; }
Property Value
System.String
Remarks
Default: - a name is generated by CloudFormation.
Stability: Experimental
Destination
(experimental) The destination that this delivery stream will deliver data to.
IDestination Destination { get; }
Property Value
Remarks
Stability: Experimental
Encryption
(experimental) Indicates the type of customer master key (CMK) to use for server-side encryption, if any.
virtual StreamEncryption Encryption { get; }
Property Value
Remarks
Default: StreamEncryption.unencrypted()
Stability: Experimental
Role
(experimental) The IAM role associated with this delivery stream.
virtual IRole Role { get; }
Property Value
Remarks
Assumed by Kinesis Data Firehose to read from sources and encrypt data server-side.
Default: - a role will be created with default permissions.
Stability: Experimental
SourceStream
(experimental) The Kinesis data stream to use as a source for this delivery stream.
virtual IStream SourceStream { get; }
Property Value
Remarks
Default: - data must be written to the delivery stream via a direct put.
Stability: Experimental