All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.codestarconnections.kotlin.outputs.GetRepositoryLinkResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.codestarconnections.kotlin.outputs

import com.pulumi.awsnative.codestarconnections.kotlin.enums.RepositoryLinkProviderType
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 CodeStarConnection. The ARN is used as the connection reference when the connection is shared between AWS services.
 * @property encryptionKeyArn The ARN of the KMS key that the customer can optionally specify to use to encrypt RepositoryLink properties. If not specified, a default key will be used.
 * @property providerType The name of the external provider where your third-party code repository is configured.
 * @property repositoryLinkArn A unique Amazon Resource Name (ARN) to designate the repository link.
 * @property repositoryLinkId A UUID that uniquely identifies the RepositoryLink.
 * @property tags Specifies the tags applied to a RepositoryLink.
 */
public data class GetRepositoryLinkResult(
    public val connectionArn: String? = null,
    public val encryptionKeyArn: String? = null,
    public val providerType: RepositoryLinkProviderType? = null,
    public val repositoryLinkArn: String? = null,
    public val repositoryLinkId: String? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.codestarconnections.outputs.GetRepositoryLinkResult): GetRepositoryLinkResult = GetRepositoryLinkResult(
            connectionArn = javaType.connectionArn().map({ args0 -> args0 }).orElse(null),
            encryptionKeyArn = javaType.encryptionKeyArn().map({ args0 -> args0 }).orElse(null),
            providerType = javaType.providerType().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.codestarconnections.kotlin.enums.RepositoryLinkProviderType.Companion.toKotlin(args0)
                })
            }).orElse(null),
            repositoryLinkArn = javaType.repositoryLinkArn().map({ args0 -> args0 }).orElse(null),
            repositoryLinkId = javaType.repositoryLinkId().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