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

com.pulumi.awsnative.proton.kotlin.ServiceTemplateArgs.kt Maven / Gradle / Ivy

@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.ServiceTemplateArgs.builder
import com.pulumi.awsnative.proton.kotlin.enums.ServiceTemplateProvisioning
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::ServiceTemplate Resource Type
 * @property description 

A description of the service template.

* @property displayName

The name of the service template as displayed in the developer interface.

* @property encryptionKey

A customer provided encryption key that's used to encrypt data.

* @property name The name of the service template. * @property pipelineProvisioning If `pipelineProvisioning` is `true` , a service pipeline is included in the service template. Otherwise, a service pipeline *isn't* included in the service template. * @property tags

An optional list of metadata items that you can associate with the Proton service template. A tag is a key-value pair.

*

For more information, see Proton resources and tagging in the * Proton User Guide.

*/ public data class ServiceTemplateArgs( public val description: Output? = null, public val displayName: Output? = null, public val encryptionKey: Output? = null, public val name: Output? = null, public val pipelineProvisioning: Output? = null, public val tags: Output>? = null, ) : ConvertibleToJava { override fun toJava(): com.pulumi.awsnative.proton.ServiceTemplateArgs = com.pulumi.awsnative.proton.ServiceTemplateArgs.builder() .description(description?.applyValue({ args0 -> args0 })) .displayName(displayName?.applyValue({ args0 -> args0 })) .encryptionKey(encryptionKey?.applyValue({ args0 -> args0 })) .name(name?.applyValue({ args0 -> args0 })) .pipelineProvisioning( pipelineProvisioning?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }), ) .tags( tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }), ).build() } /** * Builder for [ServiceTemplateArgs]. */ @PulumiTagMarker public class ServiceTemplateArgsBuilder internal constructor() { private var description: Output? = null private var displayName: Output? = null private var encryptionKey: Output? = null private var name: Output? = null private var pipelineProvisioning: Output? = null private var tags: Output>? = null /** * @param value

A description of the service template.

*/ @JvmName("ncqmaiojvlkbaoms") public suspend fun description(`value`: Output) { this.description = value } /** * @param value

The name of the service template as displayed in the developer interface.

*/ @JvmName("ecdobkwhndjgfojc") public suspend fun displayName(`value`: Output) { this.displayName = value } /** * @param value

A customer provided encryption key that's used to encrypt data.

*/ @JvmName("mdknwtpnneclxhfd") public suspend fun encryptionKey(`value`: Output) { this.encryptionKey = value } /** * @param value The name of the service template. */ @JvmName("crmvfrkmcrjsywcl") public suspend fun name(`value`: Output) { this.name = value } /** * @param value If `pipelineProvisioning` is `true` , a service pipeline is included in the service template. Otherwise, a service pipeline *isn't* included in the service template. */ @JvmName("qyybjwwaiewmhsfi") public suspend fun pipelineProvisioning(`value`: Output) { this.pipelineProvisioning = value } /** * @param value

An optional list of metadata items that you can associate with the Proton service template. A tag is a key-value pair.

*

For more information, see Proton resources and tagging in the * Proton User Guide.

*/ @JvmName("uyerpxpqqorakfsy") public suspend fun tags(`value`: Output>) { this.tags = value } @JvmName("wmjykyyidcexypew") 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 service template. A tag is a key-value pair.

*

For more information, see Proton resources and tagging in the * Proton User Guide.

*/ @JvmName("vvdmxsnbrovuifgh") public suspend fun tags(values: List>) { this.tags = Output.all(values) } /** * @param value

A description of the service template.

*/ @JvmName("qwlsxdxfyavpfylk") public suspend fun description(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.description = mapped } /** * @param value

The name of the service template as displayed in the developer interface.

*/ @JvmName("xtpsxpeblucrxkbv") public suspend fun displayName(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.displayName = mapped } /** * @param value

A customer provided encryption key that's used to encrypt data.

*/ @JvmName("xoplejubrmtcreip") public suspend fun encryptionKey(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.encryptionKey = mapped } /** * @param value The name of the service template. */ @JvmName("ncbhrunwywgtcgsr") public suspend fun name(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.name = mapped } /** * @param value If `pipelineProvisioning` is `true` , a service pipeline is included in the service template. Otherwise, a service pipeline *isn't* included in the service template. */ @JvmName("yvsuptxcvqtmjnvm") public suspend fun pipelineProvisioning(`value`: ServiceTemplateProvisioning?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.pipelineProvisioning = mapped } /** * @param value

An optional list of metadata items that you can associate with the Proton service template. A tag is a key-value pair.

*

For more information, see Proton resources and tagging in the * Proton User Guide.

*/ @JvmName("ysgkvifjuhvcywof") public suspend fun tags(`value`: List?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.tags = mapped } /** * @param argument

An optional list of metadata items that you can associate with the Proton service template. A tag is a key-value pair.

*

For more information, see Proton resources and tagging in the * Proton User Guide.

*/ @JvmName("eswhfchntrdtxdvs") public suspend fun tags(argument: List Unit>) { val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.tags = mapped } /** * @param argument

An optional list of metadata items that you can associate with the Proton service template. A tag is a key-value pair.

*

For more information, see Proton resources and tagging in the * Proton User Guide.

*/ @JvmName("xgdkbxqawfqkstnr") public suspend fun tags(vararg argument: suspend TagArgsBuilder.() -> Unit) { val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.tags = mapped } /** * @param argument

An optional list of metadata items that you can associate with the Proton service template. A tag is a key-value pair.

*

For more information, see Proton resources and tagging in the * Proton User Guide.

*/ @JvmName("tobgwscvcxlfqsql") public suspend fun tags(argument: suspend TagArgsBuilder.() -> Unit) { val toBeMapped = listOf(TagArgsBuilder().applySuspend { argument() }.build()) val mapped = of(toBeMapped) this.tags = mapped } /** * @param values

An optional list of metadata items that you can associate with the Proton service template. A tag is a key-value pair.

*

For more information, see Proton resources and tagging in the * Proton User Guide.

*/ @JvmName("xhjfukcemspyjjce") public suspend fun tags(vararg values: TagArgs) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.tags = mapped } internal fun build(): ServiceTemplateArgs = ServiceTemplateArgs( description = description, displayName = displayName, encryptionKey = encryptionKey, name = name, pipelineProvisioning = pipelineProvisioning, tags = tags, ) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy