interface ConditionExpressionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.DataBrew.CfnRecipe.ConditionExpressionProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsdatabrew#CfnRecipe_ConditionExpressionProperty |
![]() | software.amazon.awscdk.services.databrew.CfnRecipe.ConditionExpressionProperty |
![]() | aws_cdk.aws_databrew.CfnRecipe.ConditionExpressionProperty |
![]() | 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
Name | Type | Description |
---|---|---|
condition | string | A specific condition to apply to a recipe action. |
target | string | A column to apply this condition to. |
value? | string | A 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.