
com.pulumi.awsnative.mediaconnect.kotlin.outputs.BridgeSource.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.mediaconnect.kotlin.outputs
import kotlin.Suppress
/**
* The bridge's source.
* @property flowSource The source of the bridge. A flow source originates in MediaConnect as an existing cloud flow.
* @property networkSource The source of the bridge. A network source originates at your premises.
*/
public data class BridgeSource(
public val flowSource: BridgeFlowSource? = null,
public val networkSource: BridgeNetworkSource? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.mediaconnect.outputs.BridgeSource): BridgeSource = BridgeSource(
flowSource = javaType.flowSource().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.outputs.BridgeFlowSource.Companion.toKotlin(args0)
})
}).orElse(null),
networkSource = javaType.networkSource().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.outputs.BridgeNetworkSource.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy