All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.privilegedaccessmanager.kotlin.outputs.GetEntitlementPrivilegedAccessGcpIamAccessRoleBinding.kt Maven / Gradle / Ivy

@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 GetEntitlementPrivilegedAccessGcpIamAccessRoleBinding(
    public val conditionExpression: String,
    public val role: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.privilegedaccessmanager.outputs.GetEntitlementPrivilegedAccessGcpIamAccessRoleBinding): GetEntitlementPrivilegedAccessGcpIamAccessRoleBinding =
            GetEntitlementPrivilegedAccessGcpIamAccessRoleBinding(
                conditionExpression = javaType.conditionExpression(),
                role = javaType.role(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy