com.pulumi.gcp.iam.kotlin.outputs.AccessBoundaryPolicyRuleAccessBoundaryRule.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.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 AccessBoundaryPolicyRuleAccessBoundaryRule(
public val availabilityCondition: AccessBoundaryPolicyRuleAccessBoundaryRuleAvailabilityCondition? =
null,
public val availablePermissions: List? = null,
public val availableResource: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.iam.outputs.AccessBoundaryPolicyRuleAccessBoundaryRule): AccessBoundaryPolicyRuleAccessBoundaryRule = AccessBoundaryPolicyRuleAccessBoundaryRule(
availabilityCondition = javaType.availabilityCondition().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.iam.kotlin.outputs.AccessBoundaryPolicyRuleAccessBoundaryRuleAvailabilityCondition.Companion.toKotlin(args0)
})
}).orElse(null),
availablePermissions = javaType.availablePermissions().map({ args0 -> args0 }),
availableResource = javaType.availableResource().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy