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

com.pulumi.awsnative.mediaconnect.kotlin.outputs.BridgeSourceBridgeFlowSource.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.
 */
public data class BridgeSourceBridgeFlowSource(
    public val flowArn: String,
    public val flowVpcInterfaceAttachment: BridgeSourceVpcInterfaceAttachment? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.mediaconnect.outputs.BridgeSourceBridgeFlowSource): BridgeSourceBridgeFlowSource = BridgeSourceBridgeFlowSource(
            flowArn = javaType.flowArn(),
            flowVpcInterfaceAttachment = javaType.flowVpcInterfaceAttachment().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.mediaconnect.kotlin.outputs.BridgeSourceVpcInterfaceAttachment.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy