Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.EvaluationFormArgs.builder
import com.pulumi.awsnative.connect.kotlin.enums.EvaluationFormStatus
import com.pulumi.awsnative.connect.kotlin.inputs.EvaluationFormBaseItemArgs
import com.pulumi.awsnative.connect.kotlin.inputs.EvaluationFormBaseItemArgsBuilder
import com.pulumi.awsnative.connect.kotlin.inputs.EvaluationFormScoringStrategyArgs
import com.pulumi.awsnative.connect.kotlin.inputs.EvaluationFormScoringStrategyArgsBuilder
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
/**
* Creates an evaluation form for the specified CON instance.
* @property description The description of the evaluation form.
* *Length Constraints*: Minimum length of 0. Maximum length of 1024.
* @property instanceArn The identifier of the Amazon Connect instance.
* @property items Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
* *Minimum size*: 1
* *Maximum size*: 100
* @property scoringStrategy A scoring strategy of the evaluation form.
* @property status The status of the evaluation form.
* *Allowed values*: ``DRAFT`` | ``ACTIVE``
* @property tags The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
* @property title A title of the evaluation form.
*/
public data class EvaluationFormArgs(
public val description: Output? = null,
public val instanceArn: Output? = null,
public val items: Output>? = null,
public val scoringStrategy: Output? = null,
public val status: Output? = null,
public val tags: Output>? = null,
public val title: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.connect.EvaluationFormArgs =
com.pulumi.awsnative.connect.EvaluationFormArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.instanceArn(instanceArn?.applyValue({ args0 -> args0 }))
.items(items?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.scoringStrategy(scoringStrategy?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.status(status?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.title(title?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EvaluationFormArgs].
*/
@PulumiTagMarker
public class EvaluationFormArgsBuilder internal constructor() {
private var description: Output? = null
private var instanceArn: Output? = null
private var items: Output>? = null
private var scoringStrategy: Output? = null
private var status: Output? = null
private var tags: Output>? = null
private var title: Output? = null
/**
* @param value The description of the evaluation form.
* *Length Constraints*: Minimum length of 0. Maximum length of 1024.
*/
@JvmName("eyeacufyhxrlpgif")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The identifier of the Amazon Connect instance.
*/
@JvmName("jokbvrnuctekjifu")
public suspend fun instanceArn(`value`: Output) {
this.instanceArn = value
}
/**
* @param value Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
* *Minimum size*: 1
* *Maximum size*: 100
*/
@JvmName("lgjjhexqnntiahoy")
public suspend fun items(`value`: Output>) {
this.items = value
}
@JvmName("affriadaearkstkc")
public suspend fun items(vararg values: Output) {
this.items = Output.all(values.asList())
}
/**
* @param values Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
* *Minimum size*: 1
* *Maximum size*: 100
*/
@JvmName("yejwelnnmsqglrlu")
public suspend fun items(values: List