Skip to main content

Data Types

StackQL data types are used to represent values for input or output fields (properties or parameters) used within cloud resources. StackQL data types are listed in the table below:

StackQL typeDescriptionExample
stringsequence of Unicode characters enclosed by single quotes'mybucket'
arrayordered collection of values, surrounded by brackets [ ], separated by a comma[0,1,2]
objectunordered set of zero or more name/value pairs inserted between { } and separated by a comma{"name": "mydb"}
booleantrue or false, boolean values are not surrounded within quotes and will be treated as string valuestrue
integera whole number that can be positive, negative, or zero2
doubledouble-precision floating-point number, can be positive or negative0.95


StackQL data types map to the data types exposed in the APIs for all major cloud providers.