com.pulumi.awsnative.connect.kotlin.ViewArgs.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.ViewArgs.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
/**
* Resource Type definition for AWS::Connect::View
* @property actions The actions of the view in an array.
* @property description The description of the view.
* @property instanceArn The Amazon Resource Name (ARN) of the instance.
* @property name The name of the view.
* @property tags One or more tags.
* @property template The template of the view as JSON.
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Connect::View` for more information about the expected schema for this property.
*/
public data class ViewArgs(
public val actions: Output>? = null,
public val description: Output? = null,
public val instanceArn: Output? = null,
public val name: Output? = null,
public val tags: Output>? = null,
public val template: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.connect.ViewArgs =
com.pulumi.awsnative.connect.ViewArgs.builder()
.actions(actions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.description(description?.applyValue({ args0 -> args0 }))
.instanceArn(instanceArn?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.template(template?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ViewArgs].
*/
@PulumiTagMarker
public class ViewArgsBuilder internal constructor() {
private var actions: Output>? = null
private var description: Output? = null
private var instanceArn: Output? = null
private var name: Output? = null
private var tags: Output>? = null
private var template: Output? = null
/**
* @param value The actions of the view in an array.
*/
@JvmName("hjsjxmiqbrqbtlra")
public suspend fun actions(`value`: Output>) {
this.actions = value
}
@JvmName("gypnbiosankjprmv")
public suspend fun actions(vararg values: Output) {
this.actions = Output.all(values.asList())
}
/**
* @param values The actions of the view in an array.
*/
@JvmName("usqcmruxqtxfkapt")
public suspend fun actions(values: List