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

com.pulumi.awsnative.mediaconnect.kotlin.outputs.BridgeFlowSource.kt Maven / Gradle / Ivy

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

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

import kotlin.String
import kotlin.Suppress

/**
 * The source of the bridge. A flow source originates in MediaConnect as an existing cloud flow.
 * @property flowArn The ARN of the cloud flow used as a source of this bridge.
 * @property flowVpcInterfaceAttachment The name of the VPC interface attachment to use for this source.
 * @property name The name of the flow source.
 */
public data class BridgeFlowSource(
    public val flowArn: String,
    public val flowVpcInterfaceAttachment: BridgeVpcInterfaceAttachment? = null,
    public val name: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.mediaconnect.outputs.BridgeFlowSource): BridgeFlowSource = BridgeFlowSource(
            flowArn = javaType.flowArn(),
            flowVpcInterfaceAttachment = javaType.flowVpcInterfaceAttachment().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.mediaconnect.kotlin.outputs.BridgeVpcInterfaceAttachment.Companion.toKotlin(args0)
                })
            }).orElse(null),
            name = javaType.name(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy