com.pulumi.aws.iot.kotlin.outputs.TopicRuleKinesis.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.iot.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property partitionKey The partition key.
* @property roleArn The ARN of the IAM role that grants access to the Amazon Kinesis stream.
* @property streamName The name of the Amazon Kinesis stream.
*/
public data class TopicRuleKinesis(
public val partitionKey: String? = null,
public val roleArn: String,
public val streamName: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.iot.outputs.TopicRuleKinesis): TopicRuleKinesis =
TopicRuleKinesis(
partitionKey = javaType.partitionKey().map({ args0 -> args0 }).orElse(null),
roleArn = javaType.roleArn(),
streamName = javaType.streamName(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy