aws-native logo
AWS Native v0.55.0, Mar 28 23

aws-native.databrew.Recipe

Resource schema for AWS::DataBrew::Recipe.

Example Usage

Example

using System.Collections.Generic;
using Pulumi;
using AwsNative = Pulumi.AwsNative;

return await Deployment.RunAsync(() => 
{
    var testDataBrewRecipe = new AwsNative.DataBrew.Recipe("testDataBrewRecipe", new()
    {
        Name = "recipe-name",
        Description = "This is the recipe description.",
        Steps = new[]
        {
            new AwsNative.DataBrew.Inputs.RecipeStepArgs
            {
                Action = new AwsNative.DataBrew.Inputs.RecipeActionArgs
                {
                    Operation = "EXTRACT_PATTERN",
                    Parameters = 
                    {
                        { "sourceColumn", "Consulate" },
                        { "pattern", "A" },
                        { "targetColumn", "extract_pattern" },
                    },
                },
                ConditionExpressions = new[]
                {
                    new AwsNative.DataBrew.Inputs.RecipeConditionExpressionArgs
                    {
                        Condition = "LESS_THAN_EQUAL",
                        Value = "5",
                        TargetColumn = "Target",
                    },
                },
            },
        },
        Tags = new[]
        {
            new AwsNative.DataBrew.Inputs.RecipeTagArgs
            {
                Key = "key00AtCreate",
                Value = "value001AtCreate",
            },
        },
    });

});

Coming soon!

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

test_data_brew_recipe = aws_native.databrew.Recipe("testDataBrewRecipe",
    name="recipe-name",
    description="This is the recipe description.",
    steps=[aws_native.databrew.RecipeStepArgs(
        action=aws_native.databrew.RecipeActionArgs(
            operation="EXTRACT_PATTERN",
            parameters={
                "sourceColumn": "Consulate",
                "pattern": "A",
                "targetColumn": "extract_pattern",
            },
        ),
        condition_expressions=[aws_native.databrew.RecipeConditionExpressionArgs(
            condition="LESS_THAN_EQUAL",
            value="5",
            target_column="Target",
        )],
    )],
    tags=[aws_native.databrew.RecipeTagArgs(
        key="key00AtCreate",
        value="value001AtCreate",
    )])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const testDataBrewRecipe = new aws_native.databrew.Recipe("testDataBrewRecipe", {
    name: "recipe-name",
    description: "This is the recipe description.",
    steps: [{
        action: {
            operation: "EXTRACT_PATTERN",
            parameters: {
                sourceColumn: "Consulate",
                pattern: "A",
                targetColumn: "extract_pattern",
            },
        },
        conditionExpressions: [{
            condition: "LESS_THAN_EQUAL",
            value: "5",
            targetColumn: "Target",
        }],
    }],
    tags: [{
        key: "key00AtCreate",
        value: "value001AtCreate",
    }],
});

Coming soon!

Create Recipe Resource

new Recipe(name: string, args: RecipeArgs, opts?: CustomResourceOptions);
@overload
def Recipe(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           description: Optional[str] = None,
           name: Optional[str] = None,
           steps: Optional[Sequence[RecipeStepArgs]] = None,
           tags: Optional[Sequence[RecipeTagArgs]] = None)
@overload
def Recipe(resource_name: str,
           args: RecipeArgs,
           opts: Optional[ResourceOptions] = None)
func NewRecipe(ctx *Context, name string, args RecipeArgs, opts ...ResourceOption) (*Recipe, error)
public Recipe(string name, RecipeArgs args, CustomResourceOptions? opts = null)
public Recipe(String name, RecipeArgs args)
public Recipe(String name, RecipeArgs args, CustomResourceOptions options)
type: aws-native:databrew:Recipe
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args RecipeArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args RecipeArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args RecipeArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args RecipeArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args RecipeArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Recipe Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Recipe resource accepts the following input properties:

Steps []RecipeStepArgs
Description string

Description of the recipe

Name string

Recipe name

Tags []RecipeTagArgs
steps List<RecipeStepArgs>
description String

Description of the recipe

name String

Recipe name

tags List<RecipeTagArgs>
steps RecipeStepArgs[]
description string

Description of the recipe

name string

Recipe name

tags RecipeTagArgs[]
steps List<Property Map>
description String

Description of the recipe

name String

Recipe name

tags List<Property Map>

Outputs

All input properties are implicitly available as output properties. Additionally, the Recipe resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Supporting Types

RecipeAction

operation String

Step action operation

parameters Property Map | Property Map

RecipeConditionExpression

Condition string

Input condition to be applied to the target column

TargetColumn string

Name of the target column

Value string

Value of the condition

Condition string

Input condition to be applied to the target column

TargetColumn string

Name of the target column

Value string

Value of the condition

condition String

Input condition to be applied to the target column

targetColumn String

Name of the target column

value String

Value of the condition

condition string

Input condition to be applied to the target column

targetColumn string

Name of the target column

value string

Value of the condition

condition str

Input condition to be applied to the target column

target_column str

Name of the target column

value str

Value of the condition

condition String

Input condition to be applied to the target column

targetColumn String

Name of the target column

value String

Value of the condition

RecipeDataCatalogInputDefinition

CatalogId string

Catalog id

DatabaseName string

Database name

TableName string

Table name

TempDirectory RecipeS3Location
catalogId String

Catalog id

databaseName String

Database name

tableName String

Table name

tempDirectory RecipeS3Location
catalogId string

Catalog id

databaseName string

Database name

tableName string

Table name

tempDirectory RecipeS3Location
catalog_id str

Catalog id

database_name str

Database name

table_name str

Table name

temp_directory RecipeS3Location
catalogId String

Catalog id

databaseName String

Database name

tableName String

Table name

tempDirectory Property Map

RecipeParameters

AggregateFunction string
Base string
CaseStatement string
CategoryMap string
CharsToRemove string
CollapseConsecutiveWhitespace string
ColumnDataType string
ColumnRange string
Count string
CustomCharacters string
CustomStopWords string
CustomValue string
DatasetsColumns string
DateAddValue string
DateTimeFormat string
DateTimeParameters string
DeleteOtherRows string
Delimiter string
EndPattern string
EndPosition string
EndValue string
ExpandContractions string
Exponent string
FalseString string
GroupByAggFunctionOptions string
GroupByColumns string
HiddenColumns string
IgnoreCase string
IncludeInSplit string
Input Pulumi.AwsNative.DataBrew.Inputs.RecipeParametersInputProperties

Input

Interval string
IsText string
JoinKeys string
JoinType string
LeftColumns string
Limit string
LowerBound string
MapType string
ModeType string
MultiLine bool
NumRows string
NumRowsAfter string
NumRowsBefore string
OrderByColumn string
OrderByColumns string
Other string
Pattern string
PatternOption1 string
PatternOption2 string
PatternOptions string
Period string
Position string
RemoveAllPunctuation string
RemoveAllQuotes string
RemoveAllWhitespace string
RemoveCustomCharacters string
RemoveCustomValue string
RemoveLeadingAndTrailingPunctuation string
RemoveLeadingAndTrailingQuotes string
RemoveLeadingAndTrailingWhitespace string
RemoveLetters string
RemoveNumbers string
RemoveSourceColumn string
RemoveSpecialCharacters string
RightColumns string
SampleSize string
SampleType string
SecondInput string
SecondaryInputs List<Pulumi.AwsNative.DataBrew.Inputs.RecipeSecondaryInput>
SheetIndexes List<int>
SheetNames List<string>
SourceColumn string
SourceColumn1 string
SourceColumn2 string
SourceColumns string
StartColumnIndex string
StartPattern string
StartPosition string
StartValue string
StemmingMode string
StepCount string
StepIndex string
StopWordsMode string
Strategy string
TargetColumn string
TargetColumnNames string
TargetDateFormat string
TargetIndex string
TimeZone string
TokenizerPattern string
TrueString string
UdfLang string
Units string
UnpivotColumn string
UpperBound string
UseNewDataFrame string
Value string
Value1 string
Value2 string
ValueColumn string
ViewFrame string
AggregateFunction string
Base string
CaseStatement string
CategoryMap string
CharsToRemove string
CollapseConsecutiveWhitespace string
ColumnDataType string
ColumnRange string
Count string
CustomCharacters string
CustomStopWords string
CustomValue string
DatasetsColumns string
DateAddValue string
DateTimeFormat string
DateTimeParameters string
DeleteOtherRows string
Delimiter string
EndPattern string
EndPosition string
EndValue string
ExpandContractions string
Exponent string
FalseString string
GroupByAggFunctionOptions string
GroupByColumns string
HiddenColumns string
IgnoreCase string
IncludeInSplit string
Input RecipeParametersInputProperties

Input

Interval string
IsText string
JoinKeys string
JoinType string
LeftColumns string
Limit string
LowerBound string
MapType string
ModeType string
MultiLine bool
NumRows string
NumRowsAfter string
NumRowsBefore string
OrderByColumn string
OrderByColumns string
Other string
Pattern string
PatternOption1 string
PatternOption2 string
PatternOptions string
Period string
Position string
RemoveAllPunctuation string
RemoveAllQuotes string
RemoveAllWhitespace string
RemoveCustomCharacters string
RemoveCustomValue string
RemoveLeadingAndTrailingPunctuation string
RemoveLeadingAndTrailingQuotes string
RemoveLeadingAndTrailingWhitespace string
RemoveLetters string
RemoveNumbers string
RemoveSourceColumn string
RemoveSpecialCharacters string
RightColumns string
SampleSize string
SampleType string
SecondInput string
SecondaryInputs []RecipeSecondaryInput
SheetIndexes []int
SheetNames []string
SourceColumn string
SourceColumn1 string
SourceColumn2 string
SourceColumns string
StartColumnIndex string
StartPattern string
StartPosition string
StartValue string
StemmingMode string
StepCount string
StepIndex string
StopWordsMode string
Strategy string
TargetColumn string
TargetColumnNames string
TargetDateFormat string
TargetIndex string
TimeZone string
TokenizerPattern string
TrueString string
UdfLang string
Units string
UnpivotColumn string
UpperBound string
UseNewDataFrame string
Value string
Value1 string
Value2 string
ValueColumn string
ViewFrame string
aggregateFunction String
base String
caseStatement String
categoryMap String
charsToRemove String
collapseConsecutiveWhitespace String
columnDataType String
columnRange String
count String
customCharacters String
customStopWords String
customValue String
datasetsColumns String
dateAddValue String
dateTimeFormat String
dateTimeParameters String
deleteOtherRows String
delimiter String
endPattern String
endPosition String
endValue String
expandContractions String
exponent String
falseString String
groupByAggFunctionOptions String
groupByColumns String
hiddenColumns String
ignoreCase String
includeInSplit String
input RecipeParametersInputProperties

Input

interval String
isText String
joinKeys String
joinType String
leftColumns String
limit String
lowerBound String
mapType String
modeType String
multiLine Boolean
numRows String
numRowsAfter String
numRowsBefore String
orderByColumn String
orderByColumns String
other String
pattern String
patternOption1 String
patternOption2 String
patternOptions String
period String
position String
removeAllPunctuation String
removeAllQuotes String
removeAllWhitespace String
removeCustomCharacters String
removeCustomValue String
removeLeadingAndTrailingPunctuation String
removeLeadingAndTrailingQuotes String
removeLeadingAndTrailingWhitespace String
removeLetters String
removeNumbers String
removeSourceColumn String
removeSpecialCharacters String
rightColumns String
sampleSize String
sampleType String
secondInput String
secondaryInputs List<RecipeSecondaryInput>
sheetIndexes List<Integer>
sheetNames List<String>
sourceColumn String
sourceColumn1 String
sourceColumn2 String
sourceColumns String
startColumnIndex String
startPattern String
startPosition String
startValue String
stemmingMode String
stepCount String
stepIndex String
stopWordsMode String
strategy String
targetColumn String
targetColumnNames String
targetDateFormat String
targetIndex String
timeZone String
tokenizerPattern String
trueString String
udfLang String
units String
unpivotColumn String
upperBound String
useNewDataFrame String
value String
value1 String
value2 String
valueColumn String
viewFrame String
aggregateFunction string
base string
caseStatement string
categoryMap string
charsToRemove string
collapseConsecutiveWhitespace string
columnDataType string
columnRange string
count string
customCharacters string
customStopWords string
customValue string
datasetsColumns string
dateAddValue string
dateTimeFormat string
dateTimeParameters string
deleteOtherRows string
delimiter string
endPattern string
endPosition string
endValue string
expandContractions string
exponent string
falseString string
groupByAggFunctionOptions string
groupByColumns string
hiddenColumns string
ignoreCase string
includeInSplit string
input RecipeParametersInputProperties

Input

interval string
isText string
joinKeys string
joinType string
leftColumns string
limit string
lowerBound string
mapType string
modeType string
multiLine boolean
numRows string
numRowsAfter string
numRowsBefore string
orderByColumn string
orderByColumns string
other string
pattern string
patternOption1 string
patternOption2 string
patternOptions string
period string
position string
removeAllPunctuation string
removeAllQuotes string
removeAllWhitespace string
removeCustomCharacters string
removeCustomValue string
removeLeadingAndTrailingPunctuation string
removeLeadingAndTrailingQuotes string
removeLeadingAndTrailingWhitespace string
removeLetters string
removeNumbers string
removeSourceColumn string
removeSpecialCharacters string
rightColumns string
sampleSize string
sampleType string
secondInput string
secondaryInputs RecipeSecondaryInput[]
sheetIndexes number[]
sheetNames string[]
sourceColumn string
sourceColumn1 string
sourceColumn2 string
sourceColumns string
startColumnIndex string
startPattern string
startPosition string
startValue string
stemmingMode string
stepCount string
stepIndex string
stopWordsMode string
strategy string
targetColumn string
targetColumnNames string
targetDateFormat string
targetIndex string
timeZone string
tokenizerPattern string
trueString string
udfLang string
units string
unpivotColumn string
upperBound string
useNewDataFrame string
value string
value1 string
value2 string
valueColumn string
viewFrame string
aggregate_function str
base str
case_statement str
category_map str
chars_to_remove str
collapse_consecutive_whitespace str
column_data_type str
column_range str
count str
custom_characters str
custom_stop_words str
custom_value str
datasets_columns str
date_add_value str
date_time_format str
date_time_parameters str
delete_other_rows str
delimiter str
end_pattern str
end_position str
end_value str
expand_contractions str
exponent str
false_string str
group_by_agg_function_options str
group_by_columns str
hidden_columns str
ignore_case str
include_in_split str
input RecipeParametersInputProperties

Input

interval str
is_text str
join_keys str
join_type str
left_columns str
limit str
lower_bound str
map_type str
mode_type str
multi_line bool
num_rows str
num_rows_after str
num_rows_before str
order_by_column str
order_by_columns str
other str
pattern str
pattern_option1 str
pattern_option2 str
pattern_options str
period str
position str
remove_all_punctuation str
remove_all_quotes str
remove_all_whitespace str
remove_custom_characters str
remove_custom_value str
remove_leading_and_trailing_punctuation str
remove_leading_and_trailing_quotes str
remove_leading_and_trailing_whitespace str
remove_letters str
remove_numbers str
remove_source_column str
remove_special_characters str
right_columns str
sample_size str
sample_type str
second_input str
secondary_inputs Sequence[RecipeSecondaryInput]
sheet_indexes Sequence[int]
sheet_names Sequence[str]
source_column str
source_column1 str
source_column2 str
source_columns str
start_column_index str
start_pattern str
start_position str
start_value str
stemming_mode str
step_count str
step_index str
stop_words_mode str
strategy str
target_column str
target_column_names str
target_date_format str
target_index str
time_zone str
tokenizer_pattern str
true_string str
udf_lang str
units str
unpivot_column str
upper_bound str
use_new_data_frame str
value str
value1 str
value2 str
value_column str
view_frame str
aggregateFunction String
base String
caseStatement String
categoryMap String
charsToRemove String
collapseConsecutiveWhitespace String
columnDataType String
columnRange String
count String
customCharacters String
customStopWords String
customValue String
datasetsColumns String
dateAddValue String
dateTimeFormat String
dateTimeParameters String
deleteOtherRows String
delimiter String
endPattern String
endPosition String
endValue String
expandContractions String
exponent String
falseString String
groupByAggFunctionOptions String
groupByColumns String
hiddenColumns String
ignoreCase String
includeInSplit String
input Property Map

Input

interval String
isText String
joinKeys String
joinType String
leftColumns String
limit String
lowerBound String
mapType String
modeType String
multiLine Boolean
numRows String
numRowsAfter String
numRowsBefore String
orderByColumn String
orderByColumns String
other String
pattern String
patternOption1 String
patternOption2 String
patternOptions String
period String
position String
removeAllPunctuation String
removeAllQuotes String
removeAllWhitespace String
removeCustomCharacters String
removeCustomValue String
removeLeadingAndTrailingPunctuation String
removeLeadingAndTrailingQuotes String
removeLeadingAndTrailingWhitespace String
removeLetters String
removeNumbers String
removeSourceColumn String
removeSpecialCharacters String
rightColumns String
sampleSize String
sampleType String
secondInput String
secondaryInputs List<Property Map>
sheetIndexes List<Number>
sheetNames List<String>
sourceColumn String
sourceColumn1 String
sourceColumn2 String
sourceColumns String
startColumnIndex String
startPattern String
startPosition String
startValue String
stemmingMode String
stepCount String
stepIndex String
stopWordsMode String
strategy String
targetColumn String
targetColumnNames String
targetDateFormat String
targetIndex String
timeZone String
tokenizerPattern String
trueString String
udfLang String
units String
unpivotColumn String
upperBound String
useNewDataFrame String
value String
value1 String
value2 String
valueColumn String
viewFrame String

RecipeParametersInputProperties

RecipeS3Location

Bucket string
Key string
Bucket string
Key string
bucket String
key String
bucket string
key string
bucket str
key str
bucket String
key String

RecipeSecondaryInput

RecipeStep

Action RecipeAction
ConditionExpressions []RecipeConditionExpression

Condition expressions applied to the step action

action RecipeAction
conditionExpressions List<RecipeConditionExpression>

Condition expressions applied to the step action

action RecipeAction
conditionExpressions RecipeConditionExpression[]

Condition expressions applied to the step action

action RecipeAction
condition_expressions Sequence[RecipeConditionExpression]

Condition expressions applied to the step action

action Property Map
conditionExpressions List<Property Map>

Condition expressions applied to the step action

RecipeTag

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0