
com.pulumi.awsnative.mediaconnect.kotlin.inputs.FlowGatewayBridgeSourceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.mediaconnect.kotlin.inputs
import com.pulumi.awsnative.mediaconnect.inputs.FlowGatewayBridgeSourceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* 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 FlowGatewayBridgeSourceArgs(
public val bridgeArn: Output,
public val vpcInterfaceAttachment: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.mediaconnect.inputs.FlowGatewayBridgeSourceArgs =
com.pulumi.awsnative.mediaconnect.inputs.FlowGatewayBridgeSourceArgs.builder()
.bridgeArn(bridgeArn.applyValue({ args0 -> args0 }))
.vpcInterfaceAttachment(
vpcInterfaceAttachment?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [FlowGatewayBridgeSourceArgs].
*/
@PulumiTagMarker
public class FlowGatewayBridgeSourceArgsBuilder internal constructor() {
private var bridgeArn: Output? = null
private var vpcInterfaceAttachment: Output? = null
/**
* @param value The ARN of the bridge feeding this flow.
*/
@JvmName("oxenksjeeayqbbfv")
public suspend fun bridgeArn(`value`: Output) {
this.bridgeArn = value
}
/**
* @param value The name of the VPC interface attachment to use for this bridge source.
*/
@JvmName("fbuxpnkhgncnvduc")
public suspend fun vpcInterfaceAttachment(`value`: Output) {
this.vpcInterfaceAttachment = value
}
/**
* @param value The ARN of the bridge feeding this flow.
*/
@JvmName("hdclohwvccacqrmu")
public suspend fun bridgeArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.bridgeArn = mapped
}
/**
* @param value The name of the VPC interface attachment to use for this bridge source.
*/
@JvmName("tjjbopputilsybcd")
public suspend fun vpcInterfaceAttachment(`value`: FlowVpcInterfaceAttachmentArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.vpcInterfaceAttachment = mapped
}
/**
* @param argument The name of the VPC interface attachment to use for this bridge source.
*/
@JvmName("lrxtmxsbqqatievk")
public suspend fun vpcInterfaceAttachment(argument: suspend FlowVpcInterfaceAttachmentArgsBuilder.() -> Unit) {
val toBeMapped = FlowVpcInterfaceAttachmentArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.vpcInterfaceAttachment = mapped
}
internal fun build(): FlowGatewayBridgeSourceArgs = FlowGatewayBridgeSourceArgs(
bridgeArn = bridgeArn ?: throw PulumiNullFieldException("bridgeArn"),
vpcInterfaceAttachment = vpcInterfaceAttachment,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy