github.com/Jeffail/benthos/v3@v3.65.0/website/docs/components/conditions/check_interpolation.md (about)

     1  ---
     2  title: check_interpolation
     3  type: condition
     4  status: deprecated
     5  ---
     6  
     7  <!--
     8       THIS FILE IS AUTOGENERATED!
     9  
    10       To make changes please edit the contents of:
    11       lib/condition/check_interpolation.go
    12  -->
    13  
    14  import Tabs from '@theme/Tabs';
    15  import TabItem from '@theme/TabItem';
    16  
    17  :::warning DEPRECATED
    18  This component is deprecated and will be removed in the next major version release. Please consider moving onto [alternative components](#alternatives).
    19  :::
    20  
    21  ```yaml
    22  # Config fields, showing default values
    23  check_interpolation:
    24    value: ""
    25    condition: {}
    26  ```
    27  
    28  ## Fields
    29  
    30  ### `value`
    31  
    32  The value to check against the child condition.
    33  This field supports [interpolation functions](/docs/configuration/interpolation#bloblang-queries).
    34  
    35  
    36  Type: `string`  
    37  Default: `""`  
    38  
    39  ```yaml
    40  # Examples
    41  
    42  value: ${! json("doc.title") }
    43  
    44  value: ${! meta("kafka_topic") }
    45  
    46  value: ${! json("doc.id") }-${! meta("kafka_key") }
    47  ```
    48  
    49  ### `condition`
    50  
    51  A child condition to test the field contents against.
    52  
    53  
    54  Type: `object`  
    55  Default: `{}`  
    56  
    57  ## Alternatives
    58  
    59  Consider using the [bloblang](/docs/components/conditions/bloblang) condition
    60  instead.
    61