ConfigAddFields
Transformation that adds fields to a config. The path of the added field can be nested.
- type:
object - required:
["type","fields"]
type
- Required: Yes
- type:
string - enum:
["ConfigAddFields"]
fields
A list of transformations (path and corresponding value) that will be added to the config.
-
Required: Yes
-
type:
array -
items:
- Allowed type:
AddedFieldDefinition
- Allowed type:
condition
Fields will be added if expression is evaluated to True.
Examples:
{{ config['environemnt'] == 'sandbox' }}
{{ property is integer }}
{{ property|length > 5 }}
{{ property == 'some_string_to_match' }}