
com.pulumi.awsnative.connect.kotlin.TaskTemplateArgs.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.connect.kotlin
import com.pulumi.awsnative.connect.TaskTemplateArgs.builder
import com.pulumi.awsnative.connect.kotlin.enums.TaskTemplateStatus
import com.pulumi.awsnative.connect.kotlin.inputs.ConstraintsPropertiesArgs
import com.pulumi.awsnative.connect.kotlin.inputs.ConstraintsPropertiesArgsBuilder
import com.pulumi.awsnative.connect.kotlin.inputs.TaskTemplateDefaultFieldValueArgs
import com.pulumi.awsnative.connect.kotlin.inputs.TaskTemplateDefaultFieldValueArgsBuilder
import com.pulumi.awsnative.connect.kotlin.inputs.TaskTemplateFieldArgs
import com.pulumi.awsnative.connect.kotlin.inputs.TaskTemplateFieldArgsBuilder
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
/**
* Resource Type definition for AWS::Connect::TaskTemplate.
* @property clientToken A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
* @property constraints The constraints for the task template
* @property contactFlowArn The identifier of the contact flow.
* @property defaults The default values for fields when a task is created by referencing this template.
* @property description The description of the task template.
* @property fields The list of task template's fields
* @property instanceArn The identifier (arn) of the instance.
* @property name The name of the task template.
* @property status The status of the task template.
* @property tags One or more tags.
*/
public data class TaskTemplateArgs(
public val clientToken: Output? = null,
public val constraints: Output? = null,
public val contactFlowArn: Output? = null,
public val defaults: Output>? = null,
public val description: Output? = null,
public val fields: Output>? = null,
public val instanceArn: Output? = null,
public val name: Output? = null,
public val status: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.connect.TaskTemplateArgs =
com.pulumi.awsnative.connect.TaskTemplateArgs.builder()
.clientToken(clientToken?.applyValue({ args0 -> args0 }))
.constraints(constraints?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.contactFlowArn(contactFlowArn?.applyValue({ args0 -> args0 }))
.defaults(
defaults?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.description(description?.applyValue({ args0 -> args0 }))
.fields(fields?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.instanceArn(instanceArn?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.status(status?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [TaskTemplateArgs].
*/
@PulumiTagMarker
public class TaskTemplateArgsBuilder internal constructor() {
private var clientToken: Output? = null
private var constraints: Output? = null
private var contactFlowArn: Output? = null
private var defaults: Output>? = null
private var description: Output? = null
private var fields: Output>? = null
private var instanceArn: Output? = null
private var name: Output? = null
private var status: Output? = null
private var tags: Output>? = null
/**
* @param value A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
*/
@JvmName("xxpmkoorcbknnwby")
public suspend fun clientToken(`value`: Output) {
this.clientToken = value
}
/**
* @param value The constraints for the task template
*/
@JvmName("ottkvtahhhcsfgbs")
public suspend fun constraints(`value`: Output) {
this.constraints = value
}
/**
* @param value The identifier of the contact flow.
*/
@JvmName("ankrlqkbfkvkiuwd")
public suspend fun contactFlowArn(`value`: Output) {
this.contactFlowArn = value
}
/**
* @param value The default values for fields when a task is created by referencing this template.
*/
@JvmName("syvpbgmanbohtuth")
public suspend fun defaults(`value`: Output>) {
this.defaults = value
}
@JvmName("qvpvoxanypywuaxc")
public suspend fun defaults(vararg values: Output) {
this.defaults = Output.all(values.asList())
}
/**
* @param values The default values for fields when a task is created by referencing this template.
*/
@JvmName("wntgauelrtetrthq")
public suspend fun defaults(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy