Class CfnRecipe.ConditionExpressionProperty
Represents an individual condition that evaluates to true or false.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.DataBrew
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ConditionExpressionProperty : Object, CfnRecipe.IConditionExpressionProperty
Syntax (vb)
Public Class ConditionExpressionProperty
Inherits Object
Implements CfnRecipe.IConditionExpressionProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataBrew;
var conditionExpressionProperty = new ConditionExpressionProperty {
Condition = "condition",
TargetColumn = "targetColumn",
// the properties below are optional
Value = "value"
};
Synopsis
Constructors
ConditionExpressionProperty() |
Properties
Condition | A specific condition to apply to a recipe action. |
TargetColumn | A column to apply this condition to. |
Value | A value that the condition must evaluate to for the condition to succeed. |
Constructors
ConditionExpressionProperty()
public ConditionExpressionProperty()
Properties
Condition
A specific condition to apply to a recipe action.
public string Condition { get; set; }
Property Value
System.String
Remarks
For more information, see Recipe structure in the AWS Glue DataBrew Developer Guide .
TargetColumn
A column to apply this condition to.
public string TargetColumn { get; set; }
Property Value
System.String
Remarks
Value
A value that the condition must evaluate to for the condition to succeed.
public string Value { get; set; }
Property Value
System.String