com.pulumi.awsnative.ec2.kotlin.outputs.GetLocalGatewayRouteTableResult.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.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property localGatewayRouteTableArn The ARN of the local gateway route table.
* @property localGatewayRouteTableId The ID of the local gateway route table.
* @property outpostArn The ARN of the outpost.
* @property ownerId The owner of the local gateway route table.
* @property state The state of the local gateway route table.
* @property tags The tags for the local gateway route table.
*/
public data class GetLocalGatewayRouteTableResult(
public val localGatewayRouteTableArn: String? = null,
public val localGatewayRouteTableId: String? = null,
public val outpostArn: String? = null,
public val ownerId: String? = null,
public val state: String? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.GetLocalGatewayRouteTableResult): GetLocalGatewayRouteTableResult = GetLocalGatewayRouteTableResult(
localGatewayRouteTableArn = javaType.localGatewayRouteTableArn().map({ args0 ->
args0
}).orElse(null),
localGatewayRouteTableId = javaType.localGatewayRouteTableId().map({ args0 -> args0 }).orElse(null),
outpostArn = javaType.outpostArn().map({ args0 -> args0 }).orElse(null),
ownerId = javaType.ownerId().map({ args0 -> args0 }).orElse(null),
state = javaType.state().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}