com.pulumi.awsnative.iot.kotlin.outputs.TopicRuleTimestamp.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iot.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property unit The precision of the timestamp value that results from the expression described in `value` .
* @property value An expression that returns a long epoch time value.
*/
public data class TopicRuleTimestamp(
public val unit: String? = null,
public val `value`: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iot.outputs.TopicRuleTimestamp): TopicRuleTimestamp = TopicRuleTimestamp(
unit = javaType.unit().map({ args0 -> args0 }).orElse(null),
`value` = javaType.`value`(),
)
}
}