
com.pulumi.awsnative.proton.kotlin.EnvironmentTemplateArgs.kt Maven / Gradle / Ivy
Show all versions of pulumi-aws-native-kotlin Show documentation
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.proton.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.proton.EnvironmentTemplateArgs.builder
import com.pulumi.awsnative.proton.kotlin.enums.EnvironmentTemplateProvisioning
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
/**
* Definition of AWS::Proton::EnvironmentTemplate Resource Type
* @property description A description of the environment template.
* @property displayName The environment template name as displayed in the developer interface.
* @property encryptionKey A customer provided encryption key that Proton uses to encrypt data.
* @property name The name of the environment template.
* @property provisioning When included, indicates that the environment template is for customer provisioned and managed infrastructure.
* @property tags An optional list of metadata items that you can associate with the Proton environment template. A tag is a key-value pair.
* For more information, see Proton resources and tagging in the
* Proton User Guide.
*/
public data class EnvironmentTemplateArgs(
public val description: Output? = null,
public val displayName: Output? = null,
public val encryptionKey: Output? = null,
public val name: Output? = null,
public val provisioning: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.proton.EnvironmentTemplateArgs =
com.pulumi.awsnative.proton.EnvironmentTemplateArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.displayName(displayName?.applyValue({ args0 -> args0 }))
.encryptionKey(encryptionKey?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.provisioning(provisioning?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [EnvironmentTemplateArgs].
*/
@PulumiTagMarker
public class EnvironmentTemplateArgsBuilder internal constructor() {
private var description: Output? = null
private var displayName: Output? = null
private var encryptionKey: Output? = null
private var name: Output? = null
private var provisioning: Output? = null
private var tags: Output>? = null
/**
* @param value A description of the environment template.
*/
@JvmName("eovphrrkubxahura")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The environment template name as displayed in the developer interface.
*/
@JvmName("ghorctiqnqckqbmm")
public suspend fun displayName(`value`: Output) {
this.displayName = value
}
/**
* @param value A customer provided encryption key that Proton uses to encrypt data.
*/
@JvmName("asmkimecyascglpc")
public suspend fun encryptionKey(`value`: Output) {
this.encryptionKey = value
}
/**
* @param value The name of the environment template.
*/
@JvmName("qiliposdtcxhmtte")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value When included, indicates that the environment template is for customer provisioned and managed infrastructure.
*/
@JvmName("qfyskbxpwlerqbhv")
public suspend fun provisioning(`value`: Output) {
this.provisioning = value
}
/**
* @param value An optional list of metadata items that you can associate with the Proton environment template. A tag is a key-value pair.
* For more information, see Proton resources and tagging in the
* Proton User Guide.
*/
@JvmName("hpicemtsgpfnfmub")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("cgpsweeqbmpphdco")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values An optional list of metadata items that you can associate with the Proton environment template. A tag is a key-value pair.
* For more information, see Proton resources and tagging in the
* Proton User Guide.
*/
@JvmName("upvpltuumbtkdohc")
public suspend fun tags(values: List