
com.pulumi.awsnative.mediaconnect.kotlin.outputs.GetBridgeResult.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.outputs
import com.pulumi.awsnative.mediaconnect.kotlin.enums.BridgeStateEnum
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property bridgeArn The Amazon Resource Number (ARN) of the bridge.
* @property bridgeState The current status of the bridge. Possible values are: ACTIVE or STANDBY.
* @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 GetBridgeResult(
public val bridgeArn: String? = null,
public val bridgeState: BridgeStateEnum? = null,
public val egressGatewayBridge: BridgeEgressGatewayBridge? = null,
public val ingressGatewayBridge: BridgeIngressGatewayBridge? = null,
public val name: String? = null,
public val outputs: List? = null,
public val placementArn: String? = null,
public val sourceFailoverConfig: BridgeFailoverConfig? = null,
public val sources: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.mediaconnect.outputs.GetBridgeResult): GetBridgeResult = GetBridgeResult(
bridgeArn = javaType.bridgeArn().map({ args0 -> args0 }).orElse(null),
bridgeState = javaType.bridgeState().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.enums.BridgeStateEnum.Companion.toKotlin(args0)
})
}).orElse(null),
egressGatewayBridge = javaType.egressGatewayBridge().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.outputs.BridgeEgressGatewayBridge.Companion.toKotlin(args0)
})
}).orElse(null),
ingressGatewayBridge = javaType.ingressGatewayBridge().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.outputs.BridgeIngressGatewayBridge.Companion.toKotlin(args0)
})
}).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
outputs = javaType.outputs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.outputs.BridgeOutput.Companion.toKotlin(args0)
})
}),
placementArn = javaType.placementArn().map({ args0 -> args0 }).orElse(null),
sourceFailoverConfig = javaType.sourceFailoverConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.outputs.BridgeFailoverConfig.Companion.toKotlin(args0)
})
}).orElse(null),
sources = javaType.sources().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.outputs.BridgeSource.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy