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

com.pulumi.gcp.compute.kotlin.outputs.InstanceIAMBindingCondition.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.compute.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property description An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
 * > **Warning:** This provider considers the `role` and condition contents (`title`+`description`+`expression`) as the
 * identifier for the binding. This means that if any part of the condition is changed out-of-band, the provider will
 * consider it to be an entirely different resource and will treat it as such.
 * @property expression Textual representation of an expression in Common Expression Language syntax.
 * @property title A title for the expression, i.e. a short string describing its purpose.
 */
public data class InstanceIAMBindingCondition(
    public val description: String? = null,
    public val expression: String,
    public val title: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.InstanceIAMBindingCondition): InstanceIAMBindingCondition = InstanceIAMBindingCondition(
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            expression = javaType.expression(),
            title = javaType.title(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy