com.pulumi.gcp.privilegedaccessmanager.kotlin.inputs.EntitlementPrivilegedAccessGcpIamAccessArgs.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.EntitlementPrivilegedAccessGcpIamAccessArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
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
/**
*
* @property resource Name of the resource.
* @property resourceType The type of this resource.
* @property roleBindings Role bindings to be created on successful grant.
* Structure is documented below.
*/
public data class EntitlementPrivilegedAccessGcpIamAccessArgs(
public val resource: Output,
public val resourceType: Output,
public val roleBindings: Output>,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.privilegedaccessmanager.inputs.EntitlementPrivilegedAccessGcpIamAccessArgs =
com.pulumi.gcp.privilegedaccessmanager.inputs.EntitlementPrivilegedAccessGcpIamAccessArgs.builder()
.resource(resource.applyValue({ args0 -> args0 }))
.resourceType(resourceType.applyValue({ args0 -> args0 }))
.roleBindings(
roleBindings.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [EntitlementPrivilegedAccessGcpIamAccessArgs].
*/
@PulumiTagMarker
public class EntitlementPrivilegedAccessGcpIamAccessArgsBuilder internal constructor() {
private var resource: Output? = null
private var resourceType: Output? = null
private var roleBindings: Output>? =
null
/**
* @param value Name of the resource.
*/
@JvmName("kvhwulhrmecpxmly")
public suspend fun resource(`value`: Output) {
this.resource = value
}
/**
* @param value The type of this resource.
*/
@JvmName("mualyvvjhnxbyedp")
public suspend fun resourceType(`value`: Output) {
this.resourceType = value
}
/**
* @param value Role bindings to be created on successful grant.
* Structure is documented below.
*/
@JvmName("wrsidfdygkebcsyp")
public suspend fun roleBindings(`value`: Output>) {
this.roleBindings = value
}
@JvmName("hapwoabyelobuhtm")
public suspend fun roleBindings(vararg values: Output) {
this.roleBindings = Output.all(values.asList())
}
/**
* @param values Role bindings to be created on successful grant.
* Structure is documented below.
*/
@JvmName("sxwvtarptpnotisy")
public suspend fun roleBindings(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy