
com.pulumi.awsnative.ec2.kotlin.outputs.GetTransitGatewayPeeringAttachmentResult.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 creationTime The time the transit gateway peering attachment was created.
* @property state The state of the transit gateway peering attachment. Note that the initiating state has been deprecated.
* @property status The status of the transit gateway peering attachment.
* @property tags The tags for the transit gateway peering attachment.
* @property transitGatewayAttachmentId The ID of the transit gateway peering attachment.
*/
public data class GetTransitGatewayPeeringAttachmentResult(
public val creationTime: String? = null,
public val state: String? = null,
public val status: TransitGatewayPeeringAttachmentPeeringAttachmentStatus? = null,
public val tags: List? = null,
public val transitGatewayAttachmentId: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.GetTransitGatewayPeeringAttachmentResult): GetTransitGatewayPeeringAttachmentResult = GetTransitGatewayPeeringAttachmentResult(
creationTime = javaType.creationTime().map({ args0 -> args0 }).orElse(null),
state = javaType.state().map({ args0 -> args0 }).orElse(null),
status = javaType.status().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ec2.kotlin.outputs.TransitGatewayPeeringAttachmentPeeringAttachmentStatus.Companion.toKotlin(args0)
})
}).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
transitGatewayAttachmentId = javaType.transitGatewayAttachmentId().map({ args0 ->
args0
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy