
com.pulumi.aws.iot.kotlin.inputs.TopicRuleFirehoseArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.iot.kotlin.inputs
import com.pulumi.aws.iot.inputs.TopicRuleFirehoseArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property batchMode The payload that contains a JSON array of records will be sent to Kinesis Firehose via a batch call.
* @property deliveryStreamName The delivery stream name.
* @property roleArn The IAM role ARN that grants access to the Amazon Kinesis Firehose stream.
* @property separator A character separator that is used to separate records written to the Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
*/
public data class TopicRuleFirehoseArgs(
public val batchMode: Output? = null,
public val deliveryStreamName: Output,
public val roleArn: Output,
public val separator: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.iot.inputs.TopicRuleFirehoseArgs =
com.pulumi.aws.iot.inputs.TopicRuleFirehoseArgs.builder()
.batchMode(batchMode?.applyValue({ args0 -> args0 }))
.deliveryStreamName(deliveryStreamName.applyValue({ args0 -> args0 }))
.roleArn(roleArn.applyValue({ args0 -> args0 }))
.separator(separator?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TopicRuleFirehoseArgs].
*/
@PulumiTagMarker
public class TopicRuleFirehoseArgsBuilder internal constructor() {
private var batchMode: Output? = null
private var deliveryStreamName: Output? = null
private var roleArn: Output? = null
private var separator: Output? = null
/**
* @param value The payload that contains a JSON array of records will be sent to Kinesis Firehose via a batch call.
*/
@JvmName("xkchxxgwybageecb")
public suspend fun batchMode(`value`: Output) {
this.batchMode = value
}
/**
* @param value The delivery stream name.
*/
@JvmName("tjowpeflrgyfixkv")
public suspend fun deliveryStreamName(`value`: Output) {
this.deliveryStreamName = value
}
/**
* @param value The IAM role ARN that grants access to the Amazon Kinesis Firehose stream.
*/
@JvmName("hjyrvoxpchrmwxqm")
public suspend fun roleArn(`value`: Output) {
this.roleArn = value
}
/**
* @param value A character separator that is used to separate records written to the Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
*/
@JvmName("gikmrkhukqswmrbh")
public suspend fun separator(`value`: Output) {
this.separator = value
}
/**
* @param value The payload that contains a JSON array of records will be sent to Kinesis Firehose via a batch call.
*/
@JvmName("rklkqkubbjapstuf")
public suspend fun batchMode(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.batchMode = mapped
}
/**
* @param value The delivery stream name.
*/
@JvmName("aibjuljltolncqgf")
public suspend fun deliveryStreamName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.deliveryStreamName = mapped
}
/**
* @param value The IAM role ARN that grants access to the Amazon Kinesis Firehose stream.
*/
@JvmName("oygtcjynmyoxcwqt")
public suspend fun roleArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.roleArn = mapped
}
/**
* @param value A character separator that is used to separate records written to the Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
*/
@JvmName("ruwqvbhlbrmrpfhm")
public suspend fun separator(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.separator = mapped
}
internal fun build(): TopicRuleFirehoseArgs = TopicRuleFirehoseArgs(
batchMode = batchMode,
deliveryStreamName = deliveryStreamName ?: throw PulumiNullFieldException("deliveryStreamName"),
roleArn = roleArn ?: throw PulumiNullFieldException("roleArn"),
separator = separator,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy