com.pulumi.gcp.iam.kotlin.inputs.AccessBoundaryPolicyRuleAccessBoundaryRuleArgs.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.iam.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.iam.inputs.AccessBoundaryPolicyRuleAccessBoundaryRuleArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
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 availabilityCondition The availability condition further constrains the access allowed by the access boundary rule.
* Structure is documented below.
* @property availablePermissions A list of permissions that may be allowed for use on the specified resource.
* @property availableResource The full resource name of a Google Cloud resource entity.
*/
public data class AccessBoundaryPolicyRuleAccessBoundaryRuleArgs(
public val availabilityCondition: Output? = null,
public val availablePermissions: Output>? = null,
public val availableResource: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.iam.inputs.AccessBoundaryPolicyRuleAccessBoundaryRuleArgs =
com.pulumi.gcp.iam.inputs.AccessBoundaryPolicyRuleAccessBoundaryRuleArgs.builder()
.availabilityCondition(
availabilityCondition?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.availablePermissions(availablePermissions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.availableResource(availableResource?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AccessBoundaryPolicyRuleAccessBoundaryRuleArgs].
*/
@PulumiTagMarker
public class AccessBoundaryPolicyRuleAccessBoundaryRuleArgsBuilder internal constructor() {
private var availabilityCondition:
Output? = null
private var availablePermissions: Output>? = null
private var availableResource: Output? = null
/**
* @param value The availability condition further constrains the access allowed by the access boundary rule.
* Structure is documented below.
*/
@JvmName("potklvigyfqljktm")
public suspend fun availabilityCondition(`value`: Output) {
this.availabilityCondition = value
}
/**
* @param value A list of permissions that may be allowed for use on the specified resource.
*/
@JvmName("rrevpghmkuxtwyjj")
public suspend fun availablePermissions(`value`: Output>) {
this.availablePermissions = value
}
@JvmName("gvypxjrgrbcpmqrb")
public suspend fun availablePermissions(vararg values: Output) {
this.availablePermissions = Output.all(values.asList())
}
/**
* @param values A list of permissions that may be allowed for use on the specified resource.
*/
@JvmName("shqqehjtcyypfrxm")
public suspend fun availablePermissions(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy