aws-cdk-lib.aws_databrew.CfnRecipe.ConditionExpressionProperty

interface ConditionExpressionProperty

LanguageType name
.NETAmazon.CDK.AWS.DataBrew.CfnRecipe.ConditionExpressionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsdatabrew#CfnRecipe_ConditionExpressionProperty
Javasoftware.amazon.awscdk.services.databrew.CfnRecipe.ConditionExpressionProperty
Pythonaws_cdk.aws_databrew.CfnRecipe.ConditionExpressionProperty
TypeScript aws-cdk-lib » aws_databrew » CfnRecipe » ConditionExpressionProperty

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.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_databrew as databrew } from 'aws-cdk-lib';
const conditionExpressionProperty: databrew.CfnRecipe.ConditionExpressionProperty = {
  condition: 'condition',
  targetColumn: 'targetColumn',

  // the properties below are optional
  value: 'value',
};

Properties

NameTypeDescription
conditionstringA specific condition to apply to a recipe action.
targetColumnstringA column to apply this condition to.
value?stringA value that the condition must evaluate to for the condition to succeed.

condition

Type: string

A specific condition to apply to a recipe action.

For more information, see Recipe structure in the AWS Glue DataBrew Developer Guide .


targetColumn

Type: string

A column to apply this condition to.


value?

Type: string (optional)

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