All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.datazone.kotlin.UserProfileArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.datazone.kotlin

import com.pulumi.awsnative.datazone.UserProfileArgs.builder
import com.pulumi.awsnative.datazone.kotlin.enums.UserProfileStatus
import com.pulumi.awsnative.datazone.kotlin.enums.UserProfileUserType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A user profile represents Amazon DataZone users. Amazon DataZone supports both IAM roles and SSO identities to interact with the Amazon DataZone Management Console and the data portal for different purposes. Domain administrators use IAM roles to perform the initial administrative domain-related work in the Amazon DataZone Management Console, including creating new Amazon DataZone domains, configuring metadata form types, and implementing policies. Data workers use their SSO corporate identities via Identity Center to log into the Amazon DataZone Data Portal and access projects where they have memberships.
 * @property domainIdentifier The identifier of the Amazon DataZone domain in which the user profile would be created.
 * @property status The status of the user profile.
 * @property userIdentifier The ID of the user.
 * @property userType The user type of the user for which the user profile is created.
 */
public data class UserProfileArgs(
    public val domainIdentifier: Output? = null,
    public val status: Output? = null,
    public val userIdentifier: Output? = null,
    public val userType: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.datazone.UserProfileArgs =
        com.pulumi.awsnative.datazone.UserProfileArgs.builder()
            .domainIdentifier(domainIdentifier?.applyValue({ args0 -> args0 }))
            .status(status?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .userIdentifier(userIdentifier?.applyValue({ args0 -> args0 }))
            .userType(userType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [UserProfileArgs].
 */
@PulumiTagMarker
public class UserProfileArgsBuilder internal constructor() {
    private var domainIdentifier: Output? = null

    private var status: Output? = null

    private var userIdentifier: Output? = null

    private var userType: Output? = null

    /**
     * @param value The identifier of the Amazon DataZone domain in which the user profile would be created.
     */
    @JvmName("hlrnlrqogjlwrvys")
    public suspend fun domainIdentifier(`value`: Output) {
        this.domainIdentifier = value
    }

    /**
     * @param value The status of the user profile.
     */
    @JvmName("qtatekjvdrmyoull")
    public suspend fun status(`value`: Output) {
        this.status = value
    }

    /**
     * @param value The ID of the user.
     */
    @JvmName("gxyjbphaarqrmbak")
    public suspend fun userIdentifier(`value`: Output) {
        this.userIdentifier = value
    }

    /**
     * @param value The user type of the user for which the user profile is created.
     */
    @JvmName("loilvsoxkngloyxv")
    public suspend fun userType(`value`: Output) {
        this.userType = value
    }

    /**
     * @param value The identifier of the Amazon DataZone domain in which the user profile would be created.
     */
    @JvmName("tmkungnlisvpnnxx")
    public suspend fun domainIdentifier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.domainIdentifier = mapped
    }

    /**
     * @param value The status of the user profile.
     */
    @JvmName("cjvpgdehrdvtxtot")
    public suspend fun status(`value`: UserProfileStatus?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.status = mapped
    }

    /**
     * @param value The ID of the user.
     */
    @JvmName("qvtafsshrgwdfbdm")
    public suspend fun userIdentifier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.userIdentifier = mapped
    }

    /**
     * @param value The user type of the user for which the user profile is created.
     */
    @JvmName("ihplrgdttpvhefmm")
    public suspend fun userType(`value`: UserProfileUserType?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.userType = mapped
    }

    internal fun build(): UserProfileArgs = UserProfileArgs(
        domainIdentifier = domainIdentifier,
        status = status,
        userIdentifier = userIdentifier,
        userType = userType,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy