com.pulumi.gcp.privilegedaccessmanager.kotlin.outputs.EntitlementPrivilegedAccessGcpIamAccessRoleBinding.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.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property conditionExpression The expression field of the IAM condition to be associated with the role. If specified, a user with an active grant for this entitlement would be able to access the resource only if this condition evaluates to true for their request.
* https://cloud.google.com/iam/docs/conditions-overview#attributes.
* @property role IAM role to be granted. https://cloud.google.com/iam/docs/roles-overview.
*/
public data class EntitlementPrivilegedAccessGcpIamAccessRoleBinding(
public val conditionExpression: String? = null,
public val role: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.privilegedaccessmanager.outputs.EntitlementPrivilegedAccessGcpIamAccessRoleBinding): EntitlementPrivilegedAccessGcpIamAccessRoleBinding =
EntitlementPrivilegedAccessGcpIamAccessRoleBinding(
conditionExpression = javaType.conditionExpression().map({ args0 -> args0 }).orElse(null),
role = javaType.role(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy