![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ec2.kotlin.outputs.GetTransitGatewayResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ec2.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property associationDefaultRouteTableId The ID of the default association route table.
* @property autoAcceptSharedAttachments Enable or disable automatic acceptance of attachment requests. Disabled by default.
* @property defaultRouteTableAssociation Enable or disable automatic association with the default association route table. Enabled by default.
* @property defaultRouteTablePropagation Enable or disable automatic propagation of routes to the default propagation route table. Enabled by default.
* @property description The description of the transit gateway.
* @property dnsSupport Enable or disable DNS support. Enabled by default.
* @property id The ID of the transit gateway.
* @property propagationDefaultRouteTableId The ID of the default propagation route table.
* @property tags The tags for the transit gateway.
* @property transitGatewayArn
* @property transitGatewayCidrBlocks The transit gateway CIDR blocks.
* @property vpnEcmpSupport Enable or disable Equal Cost Multipath Protocol support. Enabled by default.
*/
public data class GetTransitGatewayResult(
public val associationDefaultRouteTableId: String? = null,
public val autoAcceptSharedAttachments: String? = null,
public val defaultRouteTableAssociation: String? = null,
public val defaultRouteTablePropagation: String? = null,
public val description: String? = null,
public val dnsSupport: String? = null,
public val id: String? = null,
public val propagationDefaultRouteTableId: String? = null,
public val tags: List? = null,
public val transitGatewayArn: String? = null,
public val transitGatewayCidrBlocks: List? = null,
public val vpnEcmpSupport: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.GetTransitGatewayResult): GetTransitGatewayResult = GetTransitGatewayResult(
associationDefaultRouteTableId = javaType.associationDefaultRouteTableId().map({ args0 ->
args0
}).orElse(null),
autoAcceptSharedAttachments = javaType.autoAcceptSharedAttachments().map({ args0 ->
args0
}).orElse(null),
defaultRouteTableAssociation = javaType.defaultRouteTableAssociation().map({ args0 ->
args0
}).orElse(null),
defaultRouteTablePropagation = javaType.defaultRouteTablePropagation().map({ args0 ->
args0
}).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
dnsSupport = javaType.dnsSupport().map({ args0 -> args0 }).orElse(null),
id = javaType.id().map({ args0 -> args0 }).orElse(null),
propagationDefaultRouteTableId = javaType.propagationDefaultRouteTableId().map({ args0 ->
args0
}).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
transitGatewayArn = javaType.transitGatewayArn().map({ args0 -> args0 }).orElse(null),
transitGatewayCidrBlocks = javaType.transitGatewayCidrBlocks().map({ args0 -> args0 }),
vpnEcmpSupport = javaType.vpnEcmpSupport().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy