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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.connect.kotlin
import com.pulumi.awsnative.connect.UserArgs.builder
import com.pulumi.awsnative.connect.kotlin.inputs.UserIdentityInfoArgs
import com.pulumi.awsnative.connect.kotlin.inputs.UserIdentityInfoArgsBuilder
import com.pulumi.awsnative.connect.kotlin.inputs.UserPhoneConfigArgs
import com.pulumi.awsnative.connect.kotlin.inputs.UserPhoneConfigArgsBuilder
import com.pulumi.awsnative.connect.kotlin.inputs.UserProficiencyArgs
import com.pulumi.awsnative.connect.kotlin.inputs.UserProficiencyArgsBuilder
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::User
* @property directoryUserId The identifier of the user account in the directory used for identity management.
* @property hierarchyGroupArn The identifier of the hierarchy group for the user.
* @property identityInfo The information about the identity of the user.
* @property instanceArn The identifier of the Amazon Connect instance.
* @property password The password for the user account. A password is required if you are using Amazon Connect for identity management. Otherwise, it is an error to include a password.
* @property phoneConfig The phone settings for the user.
* @property routingProfileArn The identifier of the routing profile for the user.
* @property securityProfileArns One or more security profile arns for the user
* @property tags One or more tags.
* @property userProficiencies One or more predefined attributes assigned to a user, with a level that indicates how skilled they are.
* @property username The user name for the account.
*/
public data class UserArgs(
public val directoryUserId: Output? = null,
public val hierarchyGroupArn: Output? = null,
public val identityInfo: Output? = null,
public val instanceArn: Output? = null,
public val password: Output? = null,
public val phoneConfig: Output? = null,
public val routingProfileArn: Output? = null,
public val securityProfileArns: Output>? = null,
public val tags: Output>? = null,
public val userProficiencies: Output>? = null,
public val username: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.connect.UserArgs =
com.pulumi.awsnative.connect.UserArgs.builder()
.directoryUserId(directoryUserId?.applyValue({ args0 -> args0 }))
.hierarchyGroupArn(hierarchyGroupArn?.applyValue({ args0 -> args0 }))
.identityInfo(identityInfo?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.instanceArn(instanceArn?.applyValue({ args0 -> args0 }))
.password(password?.applyValue({ args0 -> args0 }))
.phoneConfig(phoneConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.routingProfileArn(routingProfileArn?.applyValue({ args0 -> args0 }))
.securityProfileArns(securityProfileArns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.userProficiencies(
userProficiencies?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.username(username?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [UserArgs].
*/
@PulumiTagMarker
public class UserArgsBuilder internal constructor() {
private var directoryUserId: Output? = null
private var hierarchyGroupArn: Output? = null
private var identityInfo: Output? = null
private var instanceArn: Output? = null
private var password: Output? = null
private var phoneConfig: Output? = null
private var routingProfileArn: Output? = null
private var securityProfileArns: Output>? = null
private var tags: Output>? = null
private var userProficiencies: Output>? = null
private var username: Output? = null
/**
* @param value The identifier of the user account in the directory used for identity management.
*/
@JvmName("myvqqannmesakhip")
public suspend fun directoryUserId(`value`: Output) {
this.directoryUserId = value
}
/**
* @param value The identifier of the hierarchy group for the user.
*/
@JvmName("showruplpdlwrret")
public suspend fun hierarchyGroupArn(`value`: Output) {
this.hierarchyGroupArn = value
}
/**
* @param value The information about the identity of the user.
*/
@JvmName("phmmwmcmtxituyyy")
public suspend fun identityInfo(`value`: Output) {
this.identityInfo = value
}
/**
* @param value The identifier of the Amazon Connect instance.
*/
@JvmName("inhpshyseawxralk")
public suspend fun instanceArn(`value`: Output) {
this.instanceArn = value
}
/**
* @param value The password for the user account. A password is required if you are using Amazon Connect for identity management. Otherwise, it is an error to include a password.
*/
@JvmName("ueirnqmwyqqlgjjb")
public suspend fun password(`value`: Output) {
this.password = value
}
/**
* @param value The phone settings for the user.
*/
@JvmName("cvtvadtgvfcodnxu")
public suspend fun phoneConfig(`value`: Output) {
this.phoneConfig = value
}
/**
* @param value The identifier of the routing profile for the user.
*/
@JvmName("ubjoyyewkrlqihdb")
public suspend fun routingProfileArn(`value`: Output) {
this.routingProfileArn = value
}
/**
* @param value One or more security profile arns for the user
*/
@JvmName("otkgpmsxnaupdbnj")
public suspend fun securityProfileArns(`value`: Output>) {
this.securityProfileArns = value
}
@JvmName("umxvueuikusgoxho")
public suspend fun securityProfileArns(vararg values: Output) {
this.securityProfileArns = Output.all(values.asList())
}
/**
* @param values One or more security profile arns for the user
*/
@JvmName("leibsknepgoicmqy")
public suspend fun securityProfileArns(values: List