All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.cloudrun.kotlin.outputs.ServiceTemplateSpecContainerEnvValueFromSecretKeyRef.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.cloudrun.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property key A Cloud Secret Manager secret version. Must be 'latest' for the latest
 * version or an integer for a specific version.
 * @property name The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project.
 * If the secret is in another project, you must define an alias.
 * An alias definition has the form: :projects/{project-id|project-number}/secrets/.
 * If multiple alias definitions are needed, they must be separated by commas.
 * The alias definitions must be set on the run.googleapis.com/secrets annotation.
 */
public data class ServiceTemplateSpecContainerEnvValueFromSecretKeyRef(
    public val key: String,
    public val name: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudrun.outputs.ServiceTemplateSpecContainerEnvValueFromSecretKeyRef): ServiceTemplateSpecContainerEnvValueFromSecretKeyRef =
            ServiceTemplateSpecContainerEnvValueFromSecretKeyRef(
                key = javaType.key(),
                name = javaType.name(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy