Class FirehoseRecordSeparator
(experimental) Record Separator to be used to separate records.
Inheritance
System.Object
FirehoseRecordSeparator
Namespace: Amazon.CDK.AWS.IoT.Actions
Assembly: Amazon.CDK.AWS.IoT.Actions.dll
Syntax (csharp)
public sealed class FirehoseRecordSeparator : Enum
Syntax (vb)
Public NotInheritable Class FirehoseRecordSeparator
Inherits
Enum
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.KinesisFirehose;
using Amazon.CDK.AWS.KinesisFirehose.Destinations;
var bucket = new Bucket(this, "MyBucket");
var stream = new DeliveryStream(this, "MyStream", new DeliveryStreamProps {
Destinations = new [] { 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
Fields
COMMA | (experimental) Separate by a commma. |
NEWLINE | (experimental) Separate by a new line. |
TAB | (experimental) Separate by a tab. |
value__ | |
WINDOWS_NEWLINE | (experimental) Separate by a windows new line. |
Fields
COMMA
(experimental) Separate by a commma.
public const FirehoseRecordSeparator COMMA
Field Value
Type | Description |
---|---|
FirehoseRecordSeparator |
Remarks
Stability: Experimental
NEWLINE
(experimental) Separate by a new line.
public const FirehoseRecordSeparator NEWLINE
Field Value
Type | Description |
---|---|
FirehoseRecordSeparator |
Remarks
Stability: Experimental
TAB
(experimental) Separate by a tab.
public const FirehoseRecordSeparator TAB
Field Value
Type | Description |
---|---|
FirehoseRecordSeparator |
Remarks
Stability: Experimental
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |
WINDOWS_NEWLINE
(experimental) Separate by a windows new line.
public const FirehoseRecordSeparator WINDOWS_NEWLINE
Field Value
Type | Description |
---|---|
FirehoseRecordSeparator |
Remarks
Stability: Experimental