
com.pulumi.awsnative.codestarconnections.kotlin.RepositoryLinkArgs.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.codestarconnections.kotlin
import com.pulumi.awsnative.codestarconnections.RepositoryLinkArgs.builder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Schema for AWS::CodeStarConnections::RepositoryLink resource which is used to aggregate repository metadata relevant to synchronizing source provider content to AWS Resources.
* @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 ownerId the ID of the entity that owns the repository.
* @property repositoryName The repository for which the link is being created.
* @property tags Specifies the tags applied to a RepositoryLink.
*/
public data class RepositoryLinkArgs(
public val connectionArn: Output? = null,
public val encryptionKeyArn: Output? = null,
public val ownerId: Output? = null,
public val repositoryName: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.codestarconnections.RepositoryLinkArgs =
com.pulumi.awsnative.codestarconnections.RepositoryLinkArgs.builder()
.connectionArn(connectionArn?.applyValue({ args0 -> args0 }))
.encryptionKeyArn(encryptionKeyArn?.applyValue({ args0 -> args0 }))
.ownerId(ownerId?.applyValue({ args0 -> args0 }))
.repositoryName(repositoryName?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [RepositoryLinkArgs].
*/
@PulumiTagMarker
public class RepositoryLinkArgsBuilder internal constructor() {
private var connectionArn: Output? = null
private var encryptionKeyArn: Output? = null
private var ownerId: Output? = null
private var repositoryName: Output? = null
private var tags: Output>? = null
/**
* @param value The Amazon Resource Name (ARN) of the CodeStarConnection. The ARN is used as the connection reference when the connection is shared between AWS services.
*/
@JvmName("rerjmixyqpqbouin")
public suspend fun connectionArn(`value`: Output) {
this.connectionArn = value
}
/**
* @param value 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.
*/
@JvmName("npthyslukmxqtcgj")
public suspend fun encryptionKeyArn(`value`: Output) {
this.encryptionKeyArn = value
}
/**
* @param value the ID of the entity that owns the repository.
*/
@JvmName("cfoldpvpuynixwol")
public suspend fun ownerId(`value`: Output) {
this.ownerId = value
}
/**
* @param value The repository for which the link is being created.
*/
@JvmName("mahnvpeebdxcheet")
public suspend fun repositoryName(`value`: Output) {
this.repositoryName = value
}
/**
* @param value Specifies the tags applied to a RepositoryLink.
*/
@JvmName("nnlfpipbcsffsllr")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("pteixfkrdsfxwcnu")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values Specifies the tags applied to a RepositoryLink.
*/
@JvmName("xhimumrpiddxejsc")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy