com.pulumi.gcp.privilegedaccessmanager.kotlin.inputs.EntitlementEligibleUserArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.privilegedaccessmanager.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.privilegedaccessmanager.inputs.EntitlementEligibleUserArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property principals Users who are being allowed for the operation. Each entry should be a valid v1 IAM Principal Identifier. Format for these is documented at "https://cloud.google.com/iam/docs/principal-identifiers#v1"
*/
public data class EntitlementEligibleUserArgs(
public val principals: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.privilegedaccessmanager.inputs.EntitlementEligibleUserArgs =
com.pulumi.gcp.privilegedaccessmanager.inputs.EntitlementEligibleUserArgs.builder()
.principals(principals.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [EntitlementEligibleUserArgs].
*/
@PulumiTagMarker
public class EntitlementEligibleUserArgsBuilder internal constructor() {
private var principals: Output>? = null
/**
* @param value Users who are being allowed for the operation. Each entry should be a valid v1 IAM Principal Identifier. Format for these is documented at "https://cloud.google.com/iam/docs/principal-identifiers#v1"
*/
@JvmName("bfdppqvlveigtacl")
public suspend fun principals(`value`: Output>) {
this.principals = value
}
@JvmName("bktrwefiunnjhtfi")
public suspend fun principals(vararg values: Output) {
this.principals = Output.all(values.asList())
}
/**
* @param values Users who are being allowed for the operation. Each entry should be a valid v1 IAM Principal Identifier. Format for these is documented at "https://cloud.google.com/iam/docs/principal-identifiers#v1"
*/
@JvmName("otdhvcafbrtyhvoq")
public suspend fun principals(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy