EnvVarArgs

data class EnvVarArgs(val name: Output<String>, val value: Output<String>? = null, val valueFrom: Output<EnvVarSourceArgs>? = null) : ConvertibleToJava<EnvVarArgs>

EnvVar represents an environment variable present in a Container.

Constructors

Link copied to clipboard
fun EnvVarArgs(name: Output<String>, value: Output<String>? = null, valueFrom: Output<EnvVarSourceArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): EnvVarArgs

Properties

Link copied to clipboard
val name: Output<String>

Name of the environment variable. Must be a C_IDENTIFIER.

Link copied to clipboard
val value: Output<String>? = null

Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run.

Link copied to clipboard
val valueFrom: Output<EnvVarSourceArgs>? = null

Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty.