← Back to plugin index

Map Output Element

Description
Defines a key-value map element for scriptable output declarations.

Two mutually exclusive modes are supported:

  • Key-Value Mode: The key-value pairs of the map are predefined, but each value may be a different type.
  • Uniform Mode: The map may contain a variable number of key-value pairs, but each entry must have the same type.

Type name
MapScriptOutputType
Class
com.airlock.iam.scriptable.application.configuration.MapScriptOutputTypeConfig
May be used by
Properties
Key-Value Declaration (keyValueDeclaration)
Description

Specifies the expected output type for each key–value pair in the map.

Use this when individual entries in the map can have different value types and the keys are known in advance. The keys are always expected to be strings.

If the output value is not required in the Script Output Declaration, an empty list is also considered a valid script output if there are no required key-value pairs inside this map.

Note: Cannot be combined with the Uniform Declaration setting.

Attributes
Plugin-Map
Optional
Assignable plugins
Uniform Declaration (uniformDeclaration)
Description

Defines the expected output type for all values in the map.

Use this when the keys are not known in advance, and all entries in the map share the same value type.

With this property, the size of the map is variable. Each key is expected to be a string.

If the output value is not required in the Script Output Declaration, an empty list is also considered a valid script output.

Note: Cannot be combined with the Key-Value Declaration setting.

Attributes
Plugin-Link
Optional
Assignable plugins
YAML Template (with default values)

type: MapScriptOutputType
id: MapScriptOutputType-xxxxxx
displayName: 
comment: 
properties:
  keyValueDeclaration:
  uniformDeclaration: