com.pulumi.gcp.kms.kotlin.inputs.CryptoKeyKeyAccessJustificationsPolicyArgs.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.kms.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.kms.inputs.CryptoKeyKeyAccessJustificationsPolicyArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property allowedAccessReasons The list of allowed reasons for access to this CryptoKey. Zero allowed
* access reasons means all encrypt, decrypt, and sign operations for
* this CryptoKey will fail.
*/
public data class CryptoKeyKeyAccessJustificationsPolicyArgs(
public val allowedAccessReasons: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.kms.inputs.CryptoKeyKeyAccessJustificationsPolicyArgs =
com.pulumi.gcp.kms.inputs.CryptoKeyKeyAccessJustificationsPolicyArgs.builder()
.allowedAccessReasons(
allowedAccessReasons?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
).build()
}
/**
* Builder for [CryptoKeyKeyAccessJustificationsPolicyArgs].
*/
@PulumiTagMarker
public class CryptoKeyKeyAccessJustificationsPolicyArgsBuilder internal constructor() {
private var allowedAccessReasons: Output>? = null
/**
* @param value The list of allowed reasons for access to this CryptoKey. Zero allowed
* access reasons means all encrypt, decrypt, and sign operations for
* this CryptoKey will fail.
*/
@JvmName("ckiaptprwlxbnfgo")
public suspend fun allowedAccessReasons(`value`: Output>) {
this.allowedAccessReasons = value
}
@JvmName("dluekvgqnknwfoet")
public suspend fun allowedAccessReasons(vararg values: Output) {
this.allowedAccessReasons = Output.all(values.asList())
}
/**
* @param values The list of allowed reasons for access to this CryptoKey. Zero allowed
* access reasons means all encrypt, decrypt, and sign operations for
* this CryptoKey will fail.
*/
@JvmName("imekyqechjqliycg")
public suspend fun allowedAccessReasons(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy