Kion · Schema

Kion Custom Variable

A custom variable stores key-value configuration data that can be referenced across cloud rules, templates, and other Kion resources, with optional OU and project-level overrides.

Cloud OperationsComplianceCostsFinOpsGovernanceSpend

Properties

Name Type Description
id integer Internal Kion custom variable ID.
key string Variable key.
value string Variable value.
description string Variable description.
labels object Labels associated with the variable.
created_at string Timestamp when the variable was created.
View JSON Schema on GitHub

JSON Schema

custom-variable.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/api-evangelist/kion/blob/main/json-schema/custom-variable.json",
  "title": "Kion Custom Variable",
  "description": "A custom variable stores key-value configuration data that can be referenced across cloud rules, templates, and other Kion resources, with optional OU and project-level overrides.",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Internal Kion custom variable ID."
    },
    "key": {
      "type": "string",
      "description": "Variable key."
    },
    "value": {
      "type": "string",
      "description": "Variable value."
    },
    "description": {
      "type": "string",
      "description": "Variable description."
    },
    "labels": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Labels associated with the variable."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the variable was created."
    }
  },
  "required": ["key", "value"]
}