
com.pulumi.awsnative.connect.kotlin.InstanceArgs.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.InstanceArgs.builder
import com.pulumi.awsnative.connect.kotlin.enums.InstanceIdentityManagementType
import com.pulumi.awsnative.connect.kotlin.inputs.InstanceAttributesArgs
import com.pulumi.awsnative.connect.kotlin.inputs.InstanceAttributesArgsBuilder
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::Instance
* @property attributes The attributes for the instance.
* @property directoryId Existing directoryId user wants to map to the new Connect instance.
* @property identityManagementType Specifies the type of directory integration for new instance.
* @property instanceAlias Alias of the new directory created as part of new instance creation.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class InstanceArgs(
public val attributes: Output? = null,
public val directoryId: Output? = null,
public val identityManagementType: Output? = null,
public val instanceAlias: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.connect.InstanceArgs =
com.pulumi.awsnative.connect.InstanceArgs.builder()
.attributes(attributes?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.directoryId(directoryId?.applyValue({ args0 -> args0 }))
.identityManagementType(
identityManagementType?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.instanceAlias(instanceAlias?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [InstanceArgs].
*/
@PulumiTagMarker
public class InstanceArgsBuilder internal constructor() {
private var attributes: Output? = null
private var directoryId: Output? = null
private var identityManagementType: Output? = null
private var instanceAlias: Output? = null
private var tags: Output>? = null
/**
* @param value The attributes for the instance.
*/
@JvmName("ntoplgakvbnacnld")
public suspend fun attributes(`value`: Output) {
this.attributes = value
}
/**
* @param value Existing directoryId user wants to map to the new Connect instance.
*/
@JvmName("sgfosgosiseyugrw")
public suspend fun directoryId(`value`: Output) {
this.directoryId = value
}
/**
* @param value Specifies the type of directory integration for new instance.
*/
@JvmName("qdclpmgrodncfqjc")
public suspend fun identityManagementType(`value`: Output) {
this.identityManagementType = value
}
/**
* @param value Alias of the new directory created as part of new instance creation.
*/
@JvmName("uaejwntyvybdntar")
public suspend fun instanceAlias(`value`: Output) {
this.instanceAlias = value
}
/**
* @param value An array of key-value pairs to apply to this resource.
*/
@JvmName("ryrjcqhfdtsrkryf")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("ildxosgjtyousgju")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values An array of key-value pairs to apply to this resource.
*/
@JvmName("wrqgaohfmenbklna")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy