Class: Aws::GlueDataBrew::Types::ConditionExpression

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-gluedatabrew/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#conditionString

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

[1]: docs.aws.amazon.com/databrew/latest/dg/recipes.html#recipes.structure

Returns:

  • (String)


155
156
157
158
159
160
161
# File 'lib/aws-sdk-gluedatabrew/types.rb', line 155

class ConditionExpression < Struct.new(
  :condition,
  :value,
  :target_column)
  SENSITIVE = []
  include Aws::Structure
end

#target_columnString

A column to apply this condition to.

Returns:

  • (String)


155
156
157
158
159
160
161
# File 'lib/aws-sdk-gluedatabrew/types.rb', line 155

class ConditionExpression < Struct.new(
  :condition,
  :value,
  :target_column)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

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

Returns:

  • (String)


155
156
157
158
159
160
161
# File 'lib/aws-sdk-gluedatabrew/types.rb', line 155

class ConditionExpression < Struct.new(
  :condition,
  :value,
  :target_column)
  SENSITIVE = []
  include Aws::Structure
end