@Stability(value=Stable)
public static interface CfnTopicRule.FirehoseActionProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.iot.*; FirehoseActionProperty firehoseActionProperty = FirehoseActionProperty.builder() .deliveryStreamName("deliveryStreamName") .roleArn("roleArn") // the properties below are optional .batchMode(false) .separator("separator") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnTopicRule.FirehoseActionProperty.Builder
A builder for
CfnTopicRule.FirehoseActionProperty |
static class |
CfnTopicRule.FirehoseActionProperty.Jsii$Proxy
An implementation for
CfnTopicRule.FirehoseActionProperty |
Modifier and Type | Method and Description |
---|---|
static CfnTopicRule.FirehoseActionProperty.Builder |
builder() |
default Object |
getBatchMode()
Whether to deliver the Kinesis Data Firehose stream as a batch by using [`PutRecordBatch`](https://docs.aws.amazon.com/firehose/latest/APIReference/API_PutRecordBatch.html) .
|
String |
getDeliveryStreamName()
The delivery stream name.
|
String |
getRoleArn()
The IAM role that grants access to the Amazon Kinesis Firehose stream.
|
default String |
getSeparator()
A character separator that will be used to separate records written to the Firehose stream.
|
@Stability(value=Stable) @NotNull String getDeliveryStreamName()
@Stability(value=Stable) @NotNull String getRoleArn()
@Stability(value=Stable) @Nullable default Object getBatchMode()
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.
@Stability(value=Stable) @Nullable default String getSeparator()
Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
@Stability(value=Stable) static CfnTopicRule.FirehoseActionProperty.Builder builder()
Copyright © 2023. All rights reserved.