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

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

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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