AWS::DataBrew::Recipe ConditionExpression - AWS CloudFormation

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 AWS 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 AWS 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