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

com.pulumi.awsnative.mediaconnect.kotlin.outputs.FlowMediaStreamSourceConfiguration.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.mediaconnect.kotlin.outputs

import com.pulumi.awsnative.mediaconnect.kotlin.enums.FlowMediaStreamSourceConfigurationEncodingName
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * The media stream that is associated with the source, and the parameters for that association.
 * @property encodingName The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.
 * @property inputConfigurations The media streams that you want to associate with the source.
 * @property mediaStreamName A name that helps you distinguish one media stream from another.
 */
public data class FlowMediaStreamSourceConfiguration(
    public val encodingName: FlowMediaStreamSourceConfigurationEncodingName,
    public val inputConfigurations: List? = null,
    public val mediaStreamName: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.mediaconnect.outputs.FlowMediaStreamSourceConfiguration): FlowMediaStreamSourceConfiguration = FlowMediaStreamSourceConfiguration(
            encodingName = javaType.encodingName().let({ args0 ->
                com.pulumi.awsnative.mediaconnect.kotlin.enums.FlowMediaStreamSourceConfigurationEncodingName.Companion.toKotlin(args0)
            }),
            inputConfigurations = javaType.inputConfigurations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.mediaconnect.kotlin.outputs.FlowInputConfiguration.Companion.toKotlin(args0)
                })
            }),
            mediaStreamName = javaType.mediaStreamName(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy