AWSIoTFirehoseAction

Objective-C

@interface AWSIoTFirehoseAction

Swift

class AWSIoTFirehoseAction

Describes an action that writes data to an Amazon Kinesis Firehose stream.

Required parameters: [roleArn, deliveryStreamName]

  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable batchMode;

    Swift

    var batchMode: NSNumber? { get set }
  • The delivery stream name.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable deliveryStreamName;

    Swift

    var deliveryStreamName: String? { get set }
  • The IAM role that grants access to the Amazon Kinesis Firehose stream.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable roleArn;

    Swift

    var roleArn: String? { get set }
  • 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).

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable separator;

    Swift

    var separator: String? { get set }