ConditionExpression

Represents an individual condition that evaluates to true or false.

Conditions are used with recipe actions. The action is only performed for column values where the condition evaluates to true.

If a recipe requires more than one condition, then the recipe must specify multiple ConditionExpression elements. Each condition is applied to the rows in a dataset first, before the recipe action is performed.

Data AnalyticsData PreparationETLMachine Learning

Properties

Name Type Description
Condition object
Value object
TargetColumn object
View JSON Schema on GitHub

JSON Schema

glue-databrew-condition-expression-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-glue-databrew/refs/heads/main/json-schema/glue-databrew-condition-expression-schema.json",
  "title": "ConditionExpression",
  "description": "<p>Represents an individual condition that evaluates to true or false.</p> <p>Conditions are used with recipe actions. The action is only performed for column values where the condition evaluates to true.</p> <p>If a recipe requires more than one condition, then the recipe must specify multiple <code>ConditionExpression</code> elements. Each condition is applied to the rows in a dataset first, before the recipe action is performed.</p>",
  "type": "object",
  "properties": {
    "Condition": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Condition"
        },
        {
          "description": "A specific condition to apply to a recipe action. For more information, see <a href=\"https://docs.aws.amazon.com/databrew/latest/dg/recipes.html#recipes.structure\">Recipe structure</a> in the <i>Glue DataBrew Developer Guide</i>."
        }
      ]
    },
    "Value": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ConditionValue"
        },
        {
          "description": "A value that the condition must evaluate to for the condition to succeed."
        }
      ]
    },
    "TargetColumn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TargetColumn"
        },
        {
          "description": "A column to apply this condition to."
        }
      ]
    }
  },
  "required": [
    "Condition",
    "TargetColumn"
  ]
}