com.pulumi.gcp.cloudrun.kotlin.outputs.ServiceTemplateSpecVolumeSecretItem.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.cloudrun.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property key The Cloud Secret Manager secret version.
* Can be 'latest' for the latest value or an integer for a specific version.
* @property mode Mode bits to use on this file, must be a value between 0000 and 0777. If
* not specified, the volume defaultMode will be used. This might be in
* conflict with other options that affect the file mode, like fsGroup, and
* the result can be other mode bits set.
* @property path The relative path of the file to map the key to.
* May not be an absolute path.
* May not contain the path element '..'.
* May not start with the string '..'.
*/
public data class ServiceTemplateSpecVolumeSecretItem(
public val key: String,
public val mode: Int? = null,
public val path: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudrun.outputs.ServiceTemplateSpecVolumeSecretItem): ServiceTemplateSpecVolumeSecretItem = ServiceTemplateSpecVolumeSecretItem(
key = javaType.key(),
mode = javaType.mode().map({ args0 -> args0 }).orElse(null),
path = javaType.path(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy