com.pulumi.vault.managed.kotlin.KeysArgs.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.managed.kotlin
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import com.pulumi.vault.managed.KeysArgs.builder
import com.pulumi.vault.managed.kotlin.inputs.KeysAwArgs
import com.pulumi.vault.managed.kotlin.inputs.KeysAwArgsBuilder
import com.pulumi.vault.managed.kotlin.inputs.KeysAzureArgs
import com.pulumi.vault.managed.kotlin.inputs.KeysAzureArgsBuilder
import com.pulumi.vault.managed.kotlin.inputs.KeysPkcArgs
import com.pulumi.vault.managed.kotlin.inputs.KeysPkcArgsBuilder
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* A resource that manages the lifecycle of all [Managed Keys](https://www.vaultproject.io/docs/enterprise/managed-keys) in Vault.
* **Note** this feature is available only with Vault Enterprise.
* ## Import
* Mounts can be imported using the `id` of `default`, e.g.
* ```sh
* $ pulumi import vault:managed/keys:Keys keys default
* ```
* @property aws Configuration block for AWS Managed Keys
* @property azures Configuration block for Azure Managed Keys
* @property namespace Target namespace. (requires Enterprise)
* @property pkcs Configuration block for PKCS Managed Keys
*/
public data class KeysArgs(
public val aws: Output>? = null,
public val azures: Output>? = null,
public val namespace: Output? = null,
public val pkcs: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.vault.managed.KeysArgs =
com.pulumi.vault.managed.KeysArgs.builder()
.aws(aws?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.azures(azures?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.namespace(namespace?.applyValue({ args0 -> args0 }))
.pkcs(
pkcs?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [KeysArgs].
*/
@PulumiTagMarker
public class KeysArgsBuilder internal constructor() {
private var aws: Output>? = null
private var azures: Output>? = null
private var namespace: Output? = null
private var pkcs: Output>? = null
/**
* @param value Configuration block for AWS Managed Keys
*/
@JvmName("lvipfexkgxrgbunh")
public suspend fun aws(`value`: Output>) {
this.aws = value
}
@JvmName("mrjykjswoeujnfvq")
public suspend fun aws(vararg values: Output) {
this.aws = Output.all(values.asList())
}
/**
* @param values Configuration block for AWS Managed Keys
*/
@JvmName("qbgiffploisrjiwh")
public suspend fun aws(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy