
com.pulumi.awsnative.codeartifact.kotlin.DomainArgs.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.codeartifact.kotlin
import com.pulumi.awsnative.codeartifact.DomainArgs.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.Any
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The resource schema to create a CodeArtifact domain.
* ## Example Usage
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* @property domainName The name of the domain.
* @property encryptionKey The ARN of an AWS Key Management Service (AWS KMS) key associated with a domain.
* @property permissionsPolicyDocument The access control resource policy on the provided domain.
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::CodeArtifact::Domain` for more information about the expected schema for this property.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class DomainArgs(
public val domainName: Output? = null,
public val encryptionKey: Output? = null,
public val permissionsPolicyDocument: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.codeartifact.DomainArgs =
com.pulumi.awsnative.codeartifact.DomainArgs.builder()
.domainName(domainName?.applyValue({ args0 -> args0 }))
.encryptionKey(encryptionKey?.applyValue({ args0 -> args0 }))
.permissionsPolicyDocument(permissionsPolicyDocument?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [DomainArgs].
*/
@PulumiTagMarker
public class DomainArgsBuilder internal constructor() {
private var domainName: Output? = null
private var encryptionKey: Output? = null
private var permissionsPolicyDocument: Output? = null
private var tags: Output>? = null
/**
* @param value The name of the domain.
*/
@JvmName("uilnwojbhugxpjjd")
public suspend fun domainName(`value`: Output) {
this.domainName = value
}
/**
* @param value The ARN of an AWS Key Management Service (AWS KMS) key associated with a domain.
*/
@JvmName("rvqpodbnftmdcnkd")
public suspend fun encryptionKey(`value`: Output) {
this.encryptionKey = value
}
/**
* @param value The access control resource policy on the provided domain.
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::CodeArtifact::Domain` for more information about the expected schema for this property.
*/
@JvmName("rwekrgyrmjakfirf")
public suspend fun permissionsPolicyDocument(`value`: Output) {
this.permissionsPolicyDocument = value
}
/**
* @param value An array of key-value pairs to apply to this resource.
*/
@JvmName("spycwcefraboienj")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("mjyvvmmdobbpcdnr")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values An array of key-value pairs to apply to this resource.
*/
@JvmName("qnlcgkmxycduwgku")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy