interface FirehoseActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoT.Mixins.CfnTopicRulePropsMixin.FirehoseActionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiot/mixins#CfnTopicRulePropsMixin_FirehoseActionProperty |
Java | software.amazon.awscdk.mixins.preview.services.iot.mixins.CfnTopicRulePropsMixin.FirehoseActionProperty |
Python | aws_cdk.mixins_preview.aws_iot.mixins.CfnTopicRulePropsMixin.FirehoseActionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iot » mixins » CfnTopicRulePropsMixin » FirehoseActionProperty |
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 { mixins as iot_mixins } from '@aws-cdk/mixins-preview/aws-iot';
const firehoseActionProperty: iot_mixins.CfnTopicRulePropsMixin.FirehoseActionProperty = {
batchMode: false,
deliveryStreamName: 'deliveryStreamName',
roleArn: 'roleArn',
separator: 'separator',
};
Properties
| Name | Type | Description |
|---|---|---|
| batch | boolean | IResolvable | Whether to deliver the Kinesis Data Firehose stream as a batch by using PutRecordBatch . The default value is false . |
| delivery | string | The delivery stream name. |
| role | string | The IAM role that grants access to the Amazon Kinesis Firehose stream. |
| separator? | string | A character separator that will be used to separate records written to the Firehose stream. |
batchMode?
Type:
boolean | IResolvable
(optional)
Whether to deliver the Kinesis Data Firehose stream as a batch by using PutRecordBatch . The default value is false .
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?
Type:
string
(optional)
The delivery stream name.
roleArn?
Type:
string
(optional)
The IAM role that grants access to the Amazon Kinesis Firehose stream.
separator?
Type:
string
(optional)
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).

.NET
Go
Java
Python
TypeScript