
com.pulumi.aws.iot.kotlin.inputs.TopicRuleErrorActionTimestreamArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.iot.kotlin.inputs
import com.pulumi.aws.iot.inputs.TopicRuleErrorActionTimestreamArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property databaseName The name of an Amazon Timestream database.
* @property dimensions Configuration blocks with metadata attributes of the time series that are written in each measure record. Nested arguments below.
* @property roleArn The ARN of the role that grants permission to write to the Amazon Timestream database table.
* @property tableName The name of the database table into which to write the measure records.
* @property timestamp Configuration block specifying an application-defined value to replace the default value assigned to the Timestream record's timestamp in the time column. Nested arguments below.
*/
public data class TopicRuleErrorActionTimestreamArgs(
public val databaseName: Output,
public val dimensions: Output>,
public val roleArn: Output,
public val tableName: Output,
public val timestamp: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.iot.inputs.TopicRuleErrorActionTimestreamArgs =
com.pulumi.aws.iot.inputs.TopicRuleErrorActionTimestreamArgs.builder()
.databaseName(databaseName.applyValue({ args0 -> args0 }))
.dimensions(
dimensions.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.roleArn(roleArn.applyValue({ args0 -> args0 }))
.tableName(tableName.applyValue({ args0 -> args0 }))
.timestamp(timestamp?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [TopicRuleErrorActionTimestreamArgs].
*/
@PulumiTagMarker
public class TopicRuleErrorActionTimestreamArgsBuilder internal constructor() {
private var databaseName: Output? = null
private var dimensions: Output>? = null
private var roleArn: Output? = null
private var tableName: Output? = null
private var timestamp: Output? = null
/**
* @param value The name of an Amazon Timestream database.
*/
@JvmName("hiuamomxavdwybhk")
public suspend fun databaseName(`value`: Output) {
this.databaseName = value
}
/**
* @param value Configuration blocks with metadata attributes of the time series that are written in each measure record. Nested arguments below.
*/
@JvmName("lxvqxctyovyaafbt")
public suspend fun dimensions(`value`: Output>) {
this.dimensions = value
}
@JvmName("vyghamtkeignoywk")
public suspend fun dimensions(vararg values: Output) {
this.dimensions = Output.all(values.asList())
}
/**
* @param values Configuration blocks with metadata attributes of the time series that are written in each measure record. Nested arguments below.
*/
@JvmName("nnttxmwnouhesnxy")
public suspend fun dimensions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy