AWS::DataBrew::Recipe ConditionExpression - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::DataBrew::Recipe 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.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Condition" : String, "TargetColumn" : String, "Value" : String }

YAML

Condition: String TargetColumn: String Value: String

Properties

Condition

A specific condition to apply to a recipe action. For more information, see Recipe structure in the Amazon Glue DataBrew Developer Guide.

Required: Yes

Type: String

Pattern: ^[A-Z\_]+$

Minimum: 1

Maximum: 128

Update requires: No interruption

TargetColumn

A column to apply this condition to.

Required: Yes

Type: String

Minimum: 1

Maximum: 1024

Update requires: No interruption

Value

A value that the condition must evaluate to for the condition to succeed.

Required: No

Type: String

Maximum: 1024

Update requires: No interruption