com.pulumi.aws.sagemaker.kotlin.inputs.WorkteamMemberDefinitionCognitoMemberDefinitionArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.sagemaker.kotlin.inputs
import com.pulumi.aws.sagemaker.inputs.WorkteamMemberDefinitionCognitoMemberDefinitionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property clientId An identifier for an application client. You must create the app client ID using Amazon Cognito.
* @property userGroup An identifier for a user group.
* @property userPool An identifier for a user pool. The user pool must be in the same region as the service that you are calling.
*/
public data class WorkteamMemberDefinitionCognitoMemberDefinitionArgs(
public val clientId: Output,
public val userGroup: Output,
public val userPool: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.sagemaker.inputs.WorkteamMemberDefinitionCognitoMemberDefinitionArgs =
com.pulumi.aws.sagemaker.inputs.WorkteamMemberDefinitionCognitoMemberDefinitionArgs.builder()
.clientId(clientId.applyValue({ args0 -> args0 }))
.userGroup(userGroup.applyValue({ args0 -> args0 }))
.userPool(userPool.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WorkteamMemberDefinitionCognitoMemberDefinitionArgs].
*/
@PulumiTagMarker
public class WorkteamMemberDefinitionCognitoMemberDefinitionArgsBuilder internal constructor() {
private var clientId: Output? = null
private var userGroup: Output? = null
private var userPool: Output? = null
/**
* @param value An identifier for an application client. You must create the app client ID using Amazon Cognito.
*/
@JvmName("seusgwdvdudefqvl")
public suspend fun clientId(`value`: Output) {
this.clientId = value
}
/**
* @param value An identifier for a user group.
*/
@JvmName("badmwmkmpvqmlwii")
public suspend fun userGroup(`value`: Output) {
this.userGroup = value
}
/**
* @param value An identifier for a user pool. The user pool must be in the same region as the service that you are calling.
*/
@JvmName("kbloxlvuupmiyhpn")
public suspend fun userPool(`value`: Output) {
this.userPool = value
}
/**
* @param value An identifier for an application client. You must create the app client ID using Amazon Cognito.
*/
@JvmName("sosdifxksochilkw")
public suspend fun clientId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.clientId = mapped
}
/**
* @param value An identifier for a user group.
*/
@JvmName("crohlghiiwdglnyp")
public suspend fun userGroup(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.userGroup = mapped
}
/**
* @param value An identifier for a user pool. The user pool must be in the same region as the service that you are calling.
*/
@JvmName("bobjfkeucnjwobix")
public suspend fun userPool(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.userPool = mapped
}
internal fun build(): WorkteamMemberDefinitionCognitoMemberDefinitionArgs =
WorkteamMemberDefinitionCognitoMemberDefinitionArgs(
clientId = clientId ?: throw PulumiNullFieldException("clientId"),
userGroup = userGroup ?: throw PulumiNullFieldException("userGroup"),
userPool = userPool ?: throw PulumiNullFieldException("userPool"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy