VariableArgs

data class VariableArgs(val expression: Output<String>, val name: Output<String>) : ConvertibleToJava<VariableArgs>

Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.

Constructors

Link copied to clipboard
constructor(expression: Output<String>, name: Output<String>)

Properties

Link copied to clipboard
val expression: Output<String>

Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.

Link copied to clipboard
val name: Output<String>

Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through variables For example, if name is "foo", the variable will be available as variables.foo

Functions

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