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

com.pulumi.aws.iot.kotlin.outputs.TopicRuleKinesis.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: 6.57.0.0
Show newest version
@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