Interface CfnTopicRulePropsMixin.FirehoseActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTopicRulePropsMixin.FirehoseActionProperty.Jsii$Proxy
- Enclosing class:
CfnTopicRulePropsMixin
@Stability(Stable)
public static interface CfnTopicRulePropsMixin.FirehoseActionProperty
extends software.amazon.jsii.JsiiSerializable
Describes an action that writes data to an Amazon Kinesis Firehose stream.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.iot.*;
FirehoseActionProperty firehoseActionProperty = FirehoseActionProperty.builder()
.batchMode(false)
.deliveryStreamName("deliveryStreamName")
.roleArn("roleArn")
.separator("separator")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTopicRulePropsMixin.FirehoseActionPropertystatic final classAn implementation forCfnTopicRulePropsMixin.FirehoseActionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectWhether to deliver the Kinesis Data Firehose stream as a batch by usingPutRecordBatch.default ObjectThe delivery stream name.default ObjectThe IAM role that grants access to the Amazon Kinesis Firehose stream.default StringA character separator that will be used to separate records written to the Firehose stream.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBatchMode
Whether to deliver the Kinesis Data Firehose stream as a batch by usingPutRecordBatch. The default value isfalse.When
batchModeistrueand the rule's SQL statement evaluates to an Array, each Array element forms one record in thePutRecordBatchrequest. The resulting array can't have more than 500 records.Returns union: either
BooleanorIResolvable- See Also:
-
getDeliveryStreamName
The delivery stream name.Returns union: either
StringorIDeliveryStreamRef- See Also:
-
getRoleArn
The IAM role that grants access to the Amazon Kinesis Firehose stream.- See Also:
-
getSeparator
A character separator that will be used to separate records written to the Firehose stream.Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
- See Also:
-
builder
-