com.pulumi.awsnative.mediaconnect.kotlin.BridgeArgs.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
import com.pulumi.awsnative.mediaconnect.BridgeArgs.builder
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.BridgeEgressGatewayBridgeArgs
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.BridgeEgressGatewayBridgeArgsBuilder
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.BridgeFailoverConfigArgs
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.BridgeFailoverConfigArgsBuilder
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.BridgeIngressGatewayBridgeArgs
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.BridgeIngressGatewayBridgeArgsBuilder
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.BridgeOutputArgs
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.BridgeOutputArgsBuilder
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.BridgeSourceArgs
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.BridgeSourceArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource schema for AWS::MediaConnect::Bridge
* @property egressGatewayBridge Create a bridge with the egress bridge type. An egress bridge is a cloud-to-ground bridge. The content comes from an existing MediaConnect flow and is delivered to your premises.
* @property ingressGatewayBridge Create a bridge with the ingress bridge type. An ingress bridge is a ground-to-cloud bridge. The content originates at your premises and is delivered to the cloud.
* @property name The name of the bridge.
* @property outputs The outputs on this bridge.
* @property placementArn The placement Amazon Resource Number (ARN) of the bridge.
* @property sourceFailoverConfig The settings for source failover.
* @property sources The sources on this bridge.
*/
public data class BridgeArgs(
public val egressGatewayBridge: Output? = null,
public val ingressGatewayBridge: Output? = null,
public val name: Output? = null,
public val outputs: Output>? = null,
public val placementArn: Output? = null,
public val sourceFailoverConfig: Output? = null,
public val sources: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.mediaconnect.BridgeArgs =
com.pulumi.awsnative.mediaconnect.BridgeArgs.builder()
.egressGatewayBridge(
egressGatewayBridge?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.ingressGatewayBridge(
ingressGatewayBridge?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.name(name?.applyValue({ args0 -> args0 }))
.outputs(
outputs?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.placementArn(placementArn?.applyValue({ args0 -> args0 }))
.sourceFailoverConfig(
sourceFailoverConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.sources(
sources?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [BridgeArgs].
*/
@PulumiTagMarker
public class BridgeArgsBuilder internal constructor() {
private var egressGatewayBridge: Output? = null
private var ingressGatewayBridge: Output? = null
private var name: Output? = null
private var outputs: Output>? = null
private var placementArn: Output? = null
private var sourceFailoverConfig: Output? = null
private var sources: Output>? = null
/**
* @param value Create a bridge with the egress bridge type. An egress bridge is a cloud-to-ground bridge. The content comes from an existing MediaConnect flow and is delivered to your premises.
*/
@JvmName("kvsyqipssbbjpheu")
public suspend fun egressGatewayBridge(`value`: Output) {
this.egressGatewayBridge = value
}
/**
* @param value Create a bridge with the ingress bridge type. An ingress bridge is a ground-to-cloud bridge. The content originates at your premises and is delivered to the cloud.
*/
@JvmName("xhxvvipyclefmfcd")
public suspend fun ingressGatewayBridge(`value`: Output) {
this.ingressGatewayBridge = value
}
/**
* @param value The name of the bridge.
*/
@JvmName("ykolynuboshhclgb")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The outputs on this bridge.
*/
@JvmName("rnhapiclgulqwafd")
public suspend fun outputs(`value`: Output>) {
this.outputs = value
}
@JvmName("ylfxgbbbwacfabmq")
public suspend fun outputs(vararg values: Output) {
this.outputs = Output.all(values.asList())
}
/**
* @param values The outputs on this bridge.
*/
@JvmName("xnflcogkjdoccxdl")
public suspend fun outputs(values: List