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

com.pulumi.awsnative.ec2.kotlin.TransitGatewayRouteTableAssociationArgs.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.ec2.kotlin

import com.pulumi.awsnative.ec2.TransitGatewayRouteTableAssociationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Resource Type definition for AWS::EC2::TransitGatewayRouteTableAssociation
 * @property transitGatewayAttachmentId The ID of transit gateway attachment.
 * @property transitGatewayRouteTableId The ID of transit gateway route table.
 */
public data class TransitGatewayRouteTableAssociationArgs(
    public val transitGatewayAttachmentId: Output? = null,
    public val transitGatewayRouteTableId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.ec2.TransitGatewayRouteTableAssociationArgs =
        com.pulumi.awsnative.ec2.TransitGatewayRouteTableAssociationArgs.builder()
            .transitGatewayAttachmentId(transitGatewayAttachmentId?.applyValue({ args0 -> args0 }))
            .transitGatewayRouteTableId(transitGatewayRouteTableId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TransitGatewayRouteTableAssociationArgs].
 */
@PulumiTagMarker
public class TransitGatewayRouteTableAssociationArgsBuilder internal constructor() {
    private var transitGatewayAttachmentId: Output? = null

    private var transitGatewayRouteTableId: Output? = null

    /**
     * @param value The ID of transit gateway attachment.
     */
    @JvmName("ylfukaviirswdlqg")
    public suspend fun transitGatewayAttachmentId(`value`: Output) {
        this.transitGatewayAttachmentId = value
    }

    /**
     * @param value The ID of transit gateway route table.
     */
    @JvmName("dukpapfntknsyari")
    public suspend fun transitGatewayRouteTableId(`value`: Output) {
        this.transitGatewayRouteTableId = value
    }

    /**
     * @param value The ID of transit gateway attachment.
     */
    @JvmName("biyqxbxayvbunjun")
    public suspend fun transitGatewayAttachmentId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.transitGatewayAttachmentId = mapped
    }

    /**
     * @param value The ID of transit gateway route table.
     */
    @JvmName("dqrbvsqxyffmsuww")
    public suspend fun transitGatewayRouteTableId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.transitGatewayRouteTableId = mapped
    }

    internal fun build(): TransitGatewayRouteTableAssociationArgs =
        TransitGatewayRouteTableAssociationArgs(
            transitGatewayAttachmentId = transitGatewayAttachmentId,
            transitGatewayRouteTableId = transitGatewayRouteTableId,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy