All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.iot.kotlin.outputs.TopicRuleFirehoseAction.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.iot.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property batchMode 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) . 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`](https://docs.aws.amazon.com/firehose/latest/APIReference/API_PutRecordBatch.html) request. The resulting array can't have more than 500 records.
 * @property deliveryStreamName The delivery stream name.
 * @property roleArn The IAM role that grants access to the Amazon Kinesis Firehose stream.
 * @property separator 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).
 */
public data class TopicRuleFirehoseAction(
    public val batchMode: Boolean? = null,
    public val deliveryStreamName: String,
    public val roleArn: String,
    public val separator: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iot.outputs.TopicRuleFirehoseAction): TopicRuleFirehoseAction = TopicRuleFirehoseAction(
            batchMode = javaType.batchMode().map({ args0 -> args0 }).orElse(null),
            deliveryStreamName = javaType.deliveryStreamName(),
            roleArn = javaType.roleArn(),
            separator = javaType.separator().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy