![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.kinesisvideo.kotlin.StreamArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.kinesisvideo.kotlin
import com.pulumi.awsnative.kinesisvideo.StreamArgs.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type Definition for AWS::KinesisVideo::Stream
* @property dataRetentionInHours The number of hours till which Kinesis Video will retain the data in the stream
* @property deviceName The name of the device that is writing to the stream.
* @property kmsKeyId AWS KMS key ID that Kinesis Video Streams uses to encrypt stream data.
* @property mediaType The media type of the stream. Consumers of the stream can use this information when processing the stream.
* @property name The name of the Kinesis Video stream.
* @property tags An array of key-value pairs associated with the Kinesis Video Stream.
*/
public data class StreamArgs(
public val dataRetentionInHours: Output? = null,
public val deviceName: Output? = null,
public val kmsKeyId: Output? = null,
public val mediaType: Output? = null,
public val name: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.kinesisvideo.StreamArgs =
com.pulumi.awsnative.kinesisvideo.StreamArgs.builder()
.dataRetentionInHours(dataRetentionInHours?.applyValue({ args0 -> args0 }))
.deviceName(deviceName?.applyValue({ args0 -> args0 }))
.kmsKeyId(kmsKeyId?.applyValue({ args0 -> args0 }))
.mediaType(mediaType?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [StreamArgs].
*/
@PulumiTagMarker
public class StreamArgsBuilder internal constructor() {
private var dataRetentionInHours: Output? = null
private var deviceName: Output? = null
private var kmsKeyId: Output? = null
private var mediaType: Output? = null
private var name: Output? = null
private var tags: Output>? = null
/**
* @param value The number of hours till which Kinesis Video will retain the data in the stream
*/
@JvmName("hlpeausygtnjdnqk")
public suspend fun dataRetentionInHours(`value`: Output) {
this.dataRetentionInHours = value
}
/**
* @param value The name of the device that is writing to the stream.
*/
@JvmName("jxltjjydrrdmgkri")
public suspend fun deviceName(`value`: Output) {
this.deviceName = value
}
/**
* @param value AWS KMS key ID that Kinesis Video Streams uses to encrypt stream data.
*/
@JvmName("qglmokhhycmijqwc")
public suspend fun kmsKeyId(`value`: Output) {
this.kmsKeyId = value
}
/**
* @param value The media type of the stream. Consumers of the stream can use this information when processing the stream.
*/
@JvmName("bphyhtoeswcrmrhm")
public suspend fun mediaType(`value`: Output) {
this.mediaType = value
}
/**
* @param value The name of the Kinesis Video stream.
*/
@JvmName("blkdwovtmcbihbfv")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value An array of key-value pairs associated with the Kinesis Video Stream.
*/
@JvmName("popggorjgxgaawra")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("thnsgfelgyvlctbh")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values An array of key-value pairs associated with the Kinesis Video Stream.
*/
@JvmName("gvxbefewlumoqkyl")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy