
com.pulumi.awsnative.codestarconnections.kotlin.outputs.GetConnectionResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.codestarconnections.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property connectionArn The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services.
* @property connectionStatus The current status of the connection.
* @property ownerAccountId The name of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.
* @property tags Specifies the tags applied to a connection.
*/
public data class GetConnectionResult(
public val connectionArn: String? = null,
public val connectionStatus: String? = null,
public val ownerAccountId: String? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.codestarconnections.outputs.GetConnectionResult): GetConnectionResult = GetConnectionResult(
connectionArn = javaType.connectionArn().map({ args0 -> args0 }).orElse(null),
connectionStatus = javaType.connectionStatus().map({ args0 -> args0 }).orElse(null),
ownerAccountId = javaType.ownerAccountId().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy