EnvironmentArgs

data class EnvironmentArgs(val encryptedVariables: Output<KMSEnvMapArgs>? = null, val secretVariables: Output<Map<String, String>>? = null, val variables: Output<Map<String, String>>? = null) : ConvertibleToJava<EnvironmentArgs>

An Environment describes a collection of environment variables to set when executing Tasks.

Constructors

Link copied to clipboard
fun EnvironmentArgs(encryptedVariables: Output<KMSEnvMapArgs>? = null, secretVariables: Output<Map<String, String>>? = null, variables: Output<Map<String, String>>? = null)

Functions

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

Properties

Link copied to clipboard
val encryptedVariables: Output<KMSEnvMapArgs>? = null

An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.

Link copied to clipboard
val secretVariables: Output<Map<String, String>>? = null

A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.

Link copied to clipboard
val variables: Output<Map<String, String>>? = null

A map of environment variable names to values.