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

com.pulumi.aws.quicksight.kotlin.inputs.IamPolicyAssignmentIdentitiesArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.quicksight.kotlin.inputs

import com.pulumi.aws.quicksight.inputs.IamPolicyAssignmentIdentitiesArgs.builder
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.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property groups Array of Quicksight group names to assign the policy to.
 * @property users Array of Quicksight user names to assign the policy to.
 */
public data class IamPolicyAssignmentIdentitiesArgs(
    public val groups: Output>? = null,
    public val users: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.quicksight.inputs.IamPolicyAssignmentIdentitiesArgs =
        com.pulumi.aws.quicksight.inputs.IamPolicyAssignmentIdentitiesArgs.builder()
            .groups(groups?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .users(users?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [IamPolicyAssignmentIdentitiesArgs].
 */
@PulumiTagMarker
public class IamPolicyAssignmentIdentitiesArgsBuilder internal constructor() {
    private var groups: Output>? = null

    private var users: Output>? = null

    /**
     * @param value Array of Quicksight group names to assign the policy to.
     */
    @JvmName("hhdlqkolfbypgwir")
    public suspend fun groups(`value`: Output>) {
        this.groups = value
    }

    @JvmName("kogewvosxewsprsx")
    public suspend fun groups(vararg values: Output) {
        this.groups = Output.all(values.asList())
    }

    /**
     * @param values Array of Quicksight group names to assign the policy to.
     */
    @JvmName("odtwjjxhjytyqnok")
    public suspend fun groups(values: List>) {
        this.groups = Output.all(values)
    }

    /**
     * @param value Array of Quicksight user names to assign the policy to.
     */
    @JvmName("hudgvcfwfxludkbj")
    public suspend fun users(`value`: Output>) {
        this.users = value
    }

    @JvmName("qfdbswlmiwnxyjuo")
    public suspend fun users(vararg values: Output) {
        this.users = Output.all(values.asList())
    }

    /**
     * @param values Array of Quicksight user names to assign the policy to.
     */
    @JvmName("muomcfprohoykwhd")
    public suspend fun users(values: List>) {
        this.users = Output.all(values)
    }

    /**
     * @param value Array of Quicksight group names to assign the policy to.
     */
    @JvmName("fmjbmpdqqlxhbdqs")
    public suspend fun groups(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.groups = mapped
    }

    /**
     * @param values Array of Quicksight group names to assign the policy to.
     */
    @JvmName("qsitjidfkxvfqmkp")
    public suspend fun groups(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.groups = mapped
    }

    /**
     * @param value Array of Quicksight user names to assign the policy to.
     */
    @JvmName("pyomxdxttvcmblol")
    public suspend fun users(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.users = mapped
    }

    /**
     * @param values Array of Quicksight user names to assign the policy to.
     */
    @JvmName("grfkfuehfxjtgpuw")
    public suspend fun users(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.users = mapped
    }

    internal fun build(): IamPolicyAssignmentIdentitiesArgs = IamPolicyAssignmentIdentitiesArgs(
        groups = groups,
        users = users,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy