![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ivs.kotlin.StreamKeyArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ivs.kotlin
import com.pulumi.awsnative.ivs.StreamKeyArgs.builder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
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
/**
* Resource Type definition for AWS::IVS::StreamKey
* @property channelArn Channel ARN for the stream.
* @property tags A list of key-value pairs that contain metadata for the asset model.
*/
public data class StreamKeyArgs(
public val channelArn: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ivs.StreamKeyArgs =
com.pulumi.awsnative.ivs.StreamKeyArgs.builder()
.channelArn(channelArn?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [StreamKeyArgs].
*/
@PulumiTagMarker
public class StreamKeyArgsBuilder internal constructor() {
private var channelArn: Output? = null
private var tags: Output>? = null
/**
* @param value Channel ARN for the stream.
*/
@JvmName("hxsvrqgcacflfbbc")
public suspend fun channelArn(`value`: Output) {
this.channelArn = value
}
/**
* @param value A list of key-value pairs that contain metadata for the asset model.
*/
@JvmName("ddtwfduvndxxbalo")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("xkydliqofjryndib")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values A list of key-value pairs that contain metadata for the asset model.
*/
@JvmName("fxynwjlwsrjxyxqy")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy