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.
{
"$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"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.