com.pulumi.vault.gcp.kotlin.inputs.SecretStaticAccountBindingArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-vault-kotlin Show documentation
Show all versions of pulumi-vault-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.vault.gcp.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.vault.gcp.inputs.SecretStaticAccountBindingArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property resource Resource or resource path for which IAM policy information will be bound. The resource path may be specified in a few different [formats](https://www.vaultproject.io/docs/secrets/gcp/index.html#bindings).
* @property roles List of [GCP IAM roles](https://cloud.google.com/iam/docs/understanding-roles) for the resource.
*/
public data class SecretStaticAccountBindingArgs(
public val resource: Output,
public val roles: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.vault.gcp.inputs.SecretStaticAccountBindingArgs =
com.pulumi.vault.gcp.inputs.SecretStaticAccountBindingArgs.builder()
.resource(resource.applyValue({ args0 -> args0 }))
.roles(roles.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [SecretStaticAccountBindingArgs].
*/
@PulumiTagMarker
public class SecretStaticAccountBindingArgsBuilder internal constructor() {
private var resource: Output? = null
private var roles: Output>? = null
/**
* @param value Resource or resource path for which IAM policy information will be bound. The resource path may be specified in a few different [formats](https://www.vaultproject.io/docs/secrets/gcp/index.html#bindings).
*/
@JvmName("saaurigwaovsvqsk")
public suspend fun resource(`value`: Output) {
this.resource = value
}
/**
* @param value List of [GCP IAM roles](https://cloud.google.com/iam/docs/understanding-roles) for the resource.
*/
@JvmName("fktuhxugcraoaryj")
public suspend fun roles(`value`: Output>) {
this.roles = value
}
@JvmName("vxhmpdfwshybqlyd")
public suspend fun roles(vararg values: Output) {
this.roles = Output.all(values.asList())
}
/**
* @param values List of [GCP IAM roles](https://cloud.google.com/iam/docs/understanding-roles) for the resource.
*/
@JvmName("llmtggjsktugjhpj")
public suspend fun roles(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy