com.pulumi.gcp.cloudfunctions.kotlin.outputs.FunctionSecretVolumeVersion.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.cloudfunctions.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property path Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as "/etc/secrets" and path as "/secret_foo" would mount the secret value file at "/etc/secrets/secret_foo".
* @property version Version of the secret (version number or the string "latest"). It is preferable to use "latest" version with secret volumes as secret value changes are reflected immediately.
*/
public data class FunctionSecretVolumeVersion(
public val path: String,
public val version: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudfunctions.outputs.FunctionSecretVolumeVersion): FunctionSecretVolumeVersion = FunctionSecretVolumeVersion(
path = javaType.path(),
version = javaType.version(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy