![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.codeartifact.kotlin.PackageGroupArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.codeartifact.kotlin
import com.pulumi.awsnative.codeartifact.PackageGroupArgs.builder
import com.pulumi.awsnative.codeartifact.kotlin.inputs.PackageGroupOriginConfigurationArgs
import com.pulumi.awsnative.codeartifact.kotlin.inputs.PackageGroupOriginConfigurationArgsBuilder
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
/**
* The resource schema to create a CodeArtifact package group.
* @property contactInfo The contact info of the package group.
* @property description The text description of the package group.
* @property domainName The name of the domain that contains the package group.
* @property domainOwner The 12-digit account ID of the AWS account that owns the domain.
* @property originConfiguration The package origin configuration of the package group.
* @property pattern The package group pattern that is used to gather packages.
* @property tags An array of key-value pairs to apply to the package group.
*/
public data class PackageGroupArgs(
public val contactInfo: Output? = null,
public val description: Output? = null,
public val domainName: Output? = null,
public val domainOwner: Output? = null,
public val originConfiguration: Output? = null,
public val pattern: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.codeartifact.PackageGroupArgs =
com.pulumi.awsnative.codeartifact.PackageGroupArgs.builder()
.contactInfo(contactInfo?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.domainName(domainName?.applyValue({ args0 -> args0 }))
.domainOwner(domainOwner?.applyValue({ args0 -> args0 }))
.originConfiguration(
originConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.pattern(pattern?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [PackageGroupArgs].
*/
@PulumiTagMarker
public class PackageGroupArgsBuilder internal constructor() {
private var contactInfo: Output? = null
private var description: Output? = null
private var domainName: Output? = null
private var domainOwner: Output? = null
private var originConfiguration: Output? = null
private var pattern: Output? = null
private var tags: Output>? = null
/**
* @param value The contact info of the package group.
*/
@JvmName("jihklrswrqkajaja")
public suspend fun contactInfo(`value`: Output) {
this.contactInfo = value
}
/**
* @param value The text description of the package group.
*/
@JvmName("rrfhoowjykkqdgkw")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The name of the domain that contains the package group.
*/
@JvmName("ofjbikrfhkwfnoaf")
public suspend fun domainName(`value`: Output) {
this.domainName = value
}
/**
* @param value The 12-digit account ID of the AWS account that owns the domain.
*/
@JvmName("unhopunbrkktxyjr")
public suspend fun domainOwner(`value`: Output) {
this.domainOwner = value
}
/**
* @param value The package origin configuration of the package group.
*/
@JvmName("fkvgmgjdvpuwlhfj")
public suspend fun originConfiguration(`value`: Output) {
this.originConfiguration = value
}
/**
* @param value The package group pattern that is used to gather packages.
*/
@JvmName("mpnxfxijhdtkdabb")
public suspend fun pattern(`value`: Output) {
this.pattern = value
}
/**
* @param value An array of key-value pairs to apply to the package group.
*/
@JvmName("qorjgehtchklvtif")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("peodeytvafkdwncs")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values An array of key-value pairs to apply to the package group.
*/
@JvmName("anlrtmnhkrqchjqa")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy