← API reference
CANONICAL TYPE REFERENCE

IaCDeclaredVariable

A variable a commit's source declares. Declarations carry no type: every value is a string.

nameString!

Variable name.

sensitiveBoolean!

True when the variable is sensitive: a stack secret fills it.

allowEmptyBoolean!

True when an empty string is an acceptable value.

hasDefaultBoolean!

True when the declaration has a default, so a stack need not hold a value for it.

View exact SDL
"""
A variable a commit's source declares. Declarations carry no type: every value is a string.
"""
type IaCDeclaredVariable {
  """Variable name."""
  name: String!
  """True when the variable is sensitive: a stack secret fills it."""
  sensitive: Boolean!
  """True when an empty string is an acceptable value."""
  allowEmpty: Boolean!
  """
  True when the declaration has a default, so a stack need not hold a value for it.
  """
  hasDefault: Boolean!
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.