Constants represent literal values which can be used in other Cortex resources. They can be useful for extracting repetitive literals into a single variable.
- kind: constantname: <string> # constant name (required)type: <output_type> # the type of the constant (optional, will be inferred from value if not specified)value: <output_value> # a literal value (this or path must be specified)path: <string> # path to a JSON object (e.g. s3://my-bucket/constant.json) (this or value must be specified)
See Data Types for details about output types and values.
- kind: constantname: num_bucketsvalue: 5- kind: constantname: bucket_boundariestype: [FLOAT]value: [0, 50, 100]