# RecipeStepProperty

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

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    } }
};
```

Golang:

```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

- `action`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRecipe.ActionProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_databrew.CfnRecipe.ActionProperty.html) (required) — The particular action to be performed in the recipe step.

- `conditionExpressions`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRecipe.ConditionExpressionProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_databrew.CfnRecipe.ConditionExpressionProperty.html)[] — 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.
