com.pulumi.awsnative.ec2.kotlin.TransitGatewayRouteTableArgs.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.ec2.kotlin
import com.pulumi.awsnative.ec2.TransitGatewayRouteTableArgs.builder
import com.pulumi.awsnative.kotlin.inputs.CreateOnlyTagArgs
import com.pulumi.awsnative.kotlin.inputs.CreateOnlyTagArgsBuilder
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 Type definition for AWS::EC2::TransitGatewayRouteTable
* @property tags Tags are composed of a Key/Value pair. You can use tags to categorize and track each parameter group. The tag value null is permitted.
* @property transitGatewayId The ID of the transit gateway.
*/
public data class TransitGatewayRouteTableArgs(
public val tags: Output>? = null,
public val transitGatewayId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ec2.TransitGatewayRouteTableArgs =
com.pulumi.awsnative.ec2.TransitGatewayRouteTableArgs.builder()
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.transitGatewayId(transitGatewayId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TransitGatewayRouteTableArgs].
*/
@PulumiTagMarker
public class TransitGatewayRouteTableArgsBuilder internal constructor() {
private var tags: Output>? = null
private var transitGatewayId: Output? = null
/**
* @param value Tags are composed of a Key/Value pair. You can use tags to categorize and track each parameter group. The tag value null is permitted.
*/
@JvmName("gfqipqsbsyomhrsc")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("shcihscbkaplcjvi")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values Tags are composed of a Key/Value pair. You can use tags to categorize and track each parameter group. The tag value null is permitted.
*/
@JvmName("cpjesbmtwugggoyv")
public suspend fun tags(values: List