Skip to content
v2.278.0

RecipeStepProperty Struct ​

Represents a single step from a DataBrew recipe to be performed.

Example ​

ts
// 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 recipeStepProperty: databrew.CfnRecipe.RecipeStepProperty = {
  action: {
    operation: 'operation',

    // the properties below are optional
    parameters: {
      parametersKey: 'parameters',
    },
  },

  // the properties below are optional
  conditionExpressions: [{
    condition: 'condition',
    targetColumn: 'targetColumn',

    // the properties below are optional
    value: 'value',
  }],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_databrew as databrew

recipe_step_property = databrew.CfnRecipe.RecipeStepProperty(
    action=databrew.CfnRecipe.ActionProperty(
        operation="operation",

        # the properties below are optional
        parameters={
            "parameters_key": "parameters"
        }
    ),

    # the properties below are optional
    condition_expressions=[databrew.CfnRecipe.ConditionExpressionProperty(
        condition="condition",
        target_column="targetColumn",

        # the properties below are optional
        value="value"
    )]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.databrew.*;

RecipeStepProperty recipeStepProperty = RecipeStepProperty.builder()
        .action(ActionProperty.builder()
                .operation("operation")

                // the properties below are optional
                .parameters(Map.of(
                        "parametersKey", "parameters"))
                .build())

        // the properties below are optional
        .conditionExpressions(List.of(ConditionExpressionProperty.builder()
                .condition("condition")
                .targetColumn("targetColumn")

                // the properties below are optional
                .value("value")
                .build()))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 recipeStepProperty = new RecipeStepProperty {
    Action = new ActionProperty {
        Operation = "operation",

        // the properties below are optional
        Parameters = new Dictionary<string, string> {
            { "parametersKey", "parameters" }
        }
    },

    // the properties below are optional
    ConditionExpressions = new [] { new ConditionExpressionProperty {
        Condition = "condition",
        TargetColumn = "targetColumn",

        // the properties below are optional
        Value = "value"
    } }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

recipeStepProperty := &RecipeStepProperty{
	Action: &ActionProperty{
		Operation: jsii.String("operation"),

		// the properties below are optional
		Parameters: map[string]*string{
			"parametersKey": jsii.String("parameters"),
		},
	},

	// the properties below are optional
	ConditionExpressions: []interface{}{
		&ConditionExpressionProperty{
			Condition: jsii.String("condition"),
			TargetColumn: jsii.String("targetColumn"),

			// the properties below are optional
			Value: jsii.String("value"),
		},
	},
}

Properties ​

actionIResolvable | CfnRecipe.ActionPropertyactiontyping.Union[IResolvable, ActionProperty]actionIResolvableActionIResolvableActioninterface{} required #
The particular action to be performed in the recipe step.
conditionExpressionsoptionalIResolvable | IResolvable | CfnRecipe.ConditionExpressionProperty[]condition_expressionsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ConditionExpressionProperty]]]conditionExpressionsoptionalIResolvableConditionExpressionsoptionalIResolvableConditionExpressionsoptionalinterface{} #
One or more conditions that must be met for the recipe step to succeed.

All of the conditions in the array must be met. In other words, all of the conditions must be combined using a logical AND operation.