Types
Manage type checking parameter values with rules and ranges. Use the Type feature for guardrails, policy enforcement and eliminating misconfigurations.
Last updated
Manage type checking parameter values with rules and ranges. Use the Type feature for guardrails, policy enforcement and eliminating misconfigurations.
Last updated
Copyright© 2023 CloudTruth
Managing Types requires Contributor or Admin permissions.
Select Types under the Admin menu to open the screen below. (First-time customers will see an empty screen.)
List of base types and what they do.
Boolean: Can be used directly for parameters or as a parent for custom types. Automatically includes permutations such as Yes, No, True, False.
Enum: Must be used as a parent for custom types. Create lists that scope the selection to only approved values.
Integer: This can be used directly for parameters or as a parent for custom types.
String: This can be used directly for parameters or as a parent for custom types. The string type is the base type for regular expressions (Regex).
An example of a type rule that uses a regex to validate an AWS Region is correctly formatted.
An example of an enum list to validate a parameter value is correct.
Use the UI for short enum lists or the API to bulk-add longer list items.
Copy the code below and replace the API_KEY value with an API key for your organization with Contributor or Admin permissions.
Sample command line for the script (assumes the script file is named "create_enum.sh"):
-n Type name (should be short)
-d Description
-r List items. Use quote comma-separated structure