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

com.pulumi.awsnative.mediaconnect.kotlin.BridgeOutputResourceArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.mediaconnect.kotlin

import com.pulumi.awsnative.mediaconnect.BridgeOutputResourceArgs.builder
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.BridgeOutputResourceBridgeNetworkOutputArgs
import com.pulumi.awsnative.mediaconnect.kotlin.inputs.BridgeOutputResourceBridgeNetworkOutputArgsBuilder
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.jvm.JvmName

/**
 * Resource schema for AWS::MediaConnect::BridgeOutput
 * @property bridgeArn The Amazon Resource Number (ARN) of the bridge.
 * @property name The network output name.
 * @property networkOutput The output of the bridge.
 */
public data class BridgeOutputResourceArgs(
    public val bridgeArn: Output? = null,
    public val name: Output? = null,
    public val networkOutput: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.mediaconnect.BridgeOutputResourceArgs =
        com.pulumi.awsnative.mediaconnect.BridgeOutputResourceArgs.builder()
            .bridgeArn(bridgeArn?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .networkOutput(networkOutput?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [BridgeOutputResourceArgs].
 */
@PulumiTagMarker
public class BridgeOutputResourceArgsBuilder internal constructor() {
    private var bridgeArn: Output? = null

    private var name: Output? = null

    private var networkOutput: Output? = null

    /**
     * @param value The Amazon Resource Number (ARN) of the bridge.
     */
    @JvmName("wrsoyeaugwpehepv")
    public suspend fun bridgeArn(`value`: Output) {
        this.bridgeArn = value
    }

    /**
     * @param value The network output name.
     */
    @JvmName("rhlsbrsbkkffhjol")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The output of the bridge.
     */
    @JvmName("iupogmsphiifymxd")
    public suspend fun networkOutput(`value`: Output) {
        this.networkOutput = value
    }

    /**
     * @param value The Amazon Resource Number (ARN) of the bridge.
     */
    @JvmName("mjbvtcjvsbjovcoj")
    public suspend fun bridgeArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.bridgeArn = mapped
    }

    /**
     * @param value The network output name.
     */
    @JvmName("sviylfleepxydspf")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The output of the bridge.
     */
    @JvmName("yhgmyvubukvyflew")
    public suspend fun networkOutput(`value`: BridgeOutputResourceBridgeNetworkOutputArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.networkOutput = mapped
    }

    /**
     * @param argument The output of the bridge.
     */
    @JvmName("kpuvmjfssyfkplwu")
    public suspend fun networkOutput(argument: suspend BridgeOutputResourceBridgeNetworkOutputArgsBuilder.() -> Unit) {
        val toBeMapped = BridgeOutputResourceBridgeNetworkOutputArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.networkOutput = mapped
    }

    internal fun build(): BridgeOutputResourceArgs = BridgeOutputResourceArgs(
        bridgeArn = bridgeArn,
        name = name,
        networkOutput = networkOutput,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy