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

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

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

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

import kotlin.String
import kotlin.Suppress

/**
 * The source configuration for cloud flows receiving a stream from a bridge.
 * @property bridgeArn The ARN of the bridge feeding this flow.
 * @property vpcInterfaceAttachment The name of the VPC interface attachment to use for this bridge source.
 */
public data class FlowSourceGatewayBridgeSource(
    public val bridgeArn: String,
    public val vpcInterfaceAttachment: FlowSourceVpcInterfaceAttachment? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.mediaconnect.outputs.FlowSourceGatewayBridgeSource): FlowSourceGatewayBridgeSource = FlowSourceGatewayBridgeSource(
            bridgeArn = javaType.bridgeArn(),
            vpcInterfaceAttachment = javaType.vpcInterfaceAttachment().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.mediaconnect.kotlin.outputs.FlowSourceVpcInterfaceAttachment.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy