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

com.pulumi.awsnative.iot.kotlin.outputs.TopicRuleKinesisAction.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.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 TopicRuleKinesisAction(
    public val partitionKey: String? = null,
    public val roleArn: String,
    public val streamName: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iot.outputs.TopicRuleKinesisAction): TopicRuleKinesisAction = TopicRuleKinesisAction(
            partitionKey = javaType.partitionKey().map({ args0 -> args0 }).orElse(null),
            roleArn = javaType.roleArn(),
            streamName = javaType.streamName(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy