Interface CfnTopicRule.IFirehoseActionProperty
Describes an action that writes data to an Amazon Kinesis Firehose stream.
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IFirehoseActionProperty
Syntax (vb)
Public Interface IFirehoseActionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;
var firehoseActionProperty = new FirehoseActionProperty {
DeliveryStreamName = "deliveryStreamName",
RoleArn = "roleArn",
// the properties below are optional
BatchMode = false,
Separator = "separator"
};
Synopsis
Properties
BatchMode | Whether to deliver the Kinesis Data Firehose stream as a batch by using |
DeliveryStreamName | The delivery stream name. |
RoleArn | The IAM role that grants access to the Amazon Kinesis Firehose stream. |
Separator | A character separator that will be used to separate records written to the Firehose stream. |
Properties
BatchMode
Whether to deliver the Kinesis Data Firehose stream as a batch by using PutRecordBatch
. The default value is false
.
virtual object BatchMode { get; }
Property Value
System.Object
Remarks
When batchMode
is true
and the rule's SQL statement evaluates to an Array, each Array element forms one record in the PutRecordBatch
request. The resulting array can't have more than 500 records.
DeliveryStreamName
The delivery stream name.
string DeliveryStreamName { get; }
Property Value
System.String
Remarks
RoleArn
The IAM role that grants access to the Amazon Kinesis Firehose stream.
string RoleArn { get; }
Property Value
System.String
Remarks
Separator
A character separator that will be used to separate records written to the Firehose stream.
virtual string Separator { get; }
Property Value
System.String
Remarks
Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).