Skip to main content
Pulumi logo Pulumi logo
  1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. EscExpr

EscExpr

    An Expr holds information about an expression in an environment definition.

    Properties

    • range EscRange required
      The range of the expression.
    • environment string optional
      The name of the environment.
    • begin EscPos required
      The beginning of the range.
    • end EscPos required
      The end of the range.
    • schema EscSchemaSchema optional
      The schema of the expression’s result.
    • _defs map[string]EscSchemaSchema optional
      Schema definitions that can be referenced by $ref.
    • _ref string optional
      A JSON reference to a schema definition.
    • anyOf array[EscSchemaSchema] optional
      A list of schemas, any of which the value must match.
    • oneOf array[EscSchemaSchema] optional
      A list of schemas, exactly one of which the value must match.
    • prefixItems array[EscSchemaSchema] optional
      Schemas for the leading items in an array.
    • items EscSchemaSchema optional
      The schema for array items.
    • additionalProperties EscSchemaSchema optional
      The schema for additional object properties.
    • properties map[string]EscSchemaSchema optional
      Schemas for named object properties.
    • type string required
      The type of the schema (e.g. string, number, object, array, boolean).
    • const object optional
      A constant value the instance must equal.
    • enum array[object] optional
      A list of allowed values.
    • multipleOf string optional
      The value must be a multiple of this number.
    • maximum string optional
      The maximum allowed value (inclusive).
    • exclusiveMaximum string optional
      The maximum allowed value (exclusive).
    • minimum string optional
      The minimum allowed value (inclusive).
    • exclusiveMinimum string optional
      The minimum allowed value (exclusive).
    • maxLength string optional
      The maximum allowed string length.
    • minLength string optional
      The minimum allowed string length.
    • pattern string optional
      A regular expression pattern the string must match.
    • maxItems string optional
      The maximum number of items in an array.
    • minItems string optional
      The minimum number of items in an array.
    • uniqueItems boolean optional
      Whether array items must be unique.
    • maxProperties string optional
      The maximum number of properties in an object.
    • minProperties string optional
      The minimum number of properties in an object.
    • required array[string] optional
      The list of required property names.
    • dependentRequired map[string]array optional
      A map of property names to lists of properties they depend on.
    • title string optional
      A short human-readable label for the schema (JSON Schema annotation).
    • description string optional
      A human-readable explanation of the schema’s purpose (JSON Schema annotation).
    • default object optional
      The default value for the schema.
    • deprecated boolean optional
      Whether the schema is deprecated.
    • examples array[object] optional
      Example values for the schema.
    • secret boolean optional
      Pulumi ESC extension: if true, the value should be treated as sensitive and masked in output.
    • rotateOnly array[string] optional
      Pulumi ESC extension: property paths within this schema that support rotation-only updates.
    • base EscExpr optional
      The expression that defined this expression’s base value, if any.
    • range EscRange required
      The range of the expression.
    • schema EscSchemaSchema optional
      The schema of the expression’s result.
    • base EscExpr optional
      The expression that defined this expression’s base value, if any.
    • keyRanges map[string]EscRange optional
      Ranges for the object’s keys, if this is an object expression.
    • literal object optional
      The literal value, if this is a literal expression (nil, bool, json.Number, or string)
    • interpolate array[EscInterpolation] optional
      The interpolations, if this is a string interpolation expression.
    • symbol array[EscPropertyAccessor] optional
      The property accessors, if this is a symbol expression.
    • access EscAccessExpr optional
      The access, if this is an access expression.
    • list array[EscExpr] optional
      The list elements, if this is a list expression.
    • object map[string]EscExpr optional
      The object properties, if this is an object expression.
    • builtin EscBuiltinExpr optional
      The builtin, if this is a call to a builtin function.
    • keyRanges map[string]EscRange optional
      Ranges for the object’s keys, if this is an object expression.
    • literal object optional
      The literal value, if this is a literal expression (nil, bool, json.Number, or string)
    • interpolate array[EscInterpolation] optional
      The interpolations, if this is a string interpolation expression.
    • text string optional
      The text of the expression. Precedes the stringified Value in the output.
    • value array[EscPropertyAccessor] optional
      The value to interpolate.
    • symbol array[EscPropertyAccessor] optional
      The property accessors, if this is a symbol expression.
    • index integer optional
      The integer index of the element to access. Mutually exclusive with Key.
    • value EscRange required
      The range of the expression that defines the resolved value.
    • key string optional
      The key of the property to access. Mutually exclusive with Index.
    • range EscRange optional
      The range of the accessor.
    • access EscAccessExpr optional
      The access, if this is an access expression.
    • receiver EscRange required
      The receiver to access.
    • accessors array[EscAccessor] required
      The accessors to evaluate.
    • list array[EscExpr] optional
      The list elements, if this is a list expression.
    • range EscRange required
      The range of the expression.
    • schema EscSchemaSchema optional
      The schema of the expression’s result.
    • base EscExpr optional
      The expression that defined this expression’s base value, if any.
    • keyRanges map[string]EscRange optional
      Ranges for the object’s keys, if this is an object expression.
    • literal object optional
      The literal value, if this is a literal expression (nil, bool, json.Number, or string)
    • interpolate array[EscInterpolation] optional
      The interpolations, if this is a string interpolation expression.
    • symbol array[EscPropertyAccessor] optional
      The property accessors, if this is a symbol expression.
    • access EscAccessExpr optional
      The access, if this is an access expression.
    • list array[EscExpr] optional
      The list elements, if this is a list expression.
    • object map[string]EscExpr optional
      The object properties, if this is an object expression.
    • builtin EscBuiltinExpr optional
      The builtin, if this is a call to a builtin function.
    • object map[string]EscExpr optional
      The object properties, if this is an object expression.
    • builtin EscBuiltinExpr optional
      The builtin, if this is a call to a builtin function.
    • name string required
      The name of the builtin function.
    • nameRange EscRange required
      The source range of the function name.
    • argSchema EscSchemaSchema required
      The schema for the function argument.
    • arg EscExpr required
      The argument expression passed to the builtin function.

      The infrastructure as code platform for any cloud.