@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.832Z") @Stability(value=Stable) public class CfnRecipe extends CfnResource implements IInspectable
Specifies a new AWS Glue DataBrew transformation recipe.
Example:
// 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.*;
CfnRecipe cfnRecipe = CfnRecipe.Builder.create(this, "MyCfnRecipe")
.name("name")
.steps(List.of(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()))
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnRecipe.ActionProperty
Represents a transformation and associated parameters that are used to apply a change to an AWS Glue DataBrew dataset.
|
static class |
CfnRecipe.Builder
A fluent builder for
CfnRecipe. |
static interface |
CfnRecipe.ConditionExpressionProperty
Represents an individual condition that evaluates to true or false.
|
static interface |
CfnRecipe.DataCatalogInputDefinitionProperty
Represents how metadata stored in the AWS Glue Data Catalog is defined in a DataBrew dataset.
|
static interface |
CfnRecipe.RecipeParametersProperty
Parameters that are used as inputs for various recipe actions.
|
static interface |
CfnRecipe.RecipeStepProperty
Represents a single step from a DataBrew recipe to be performed.
|
static interface |
CfnRecipe.S3LocationProperty
Represents an Amazon S3 location (bucket name, bucket owner, and object key) where DataBrew can read input data, or write output from a job.
|
static interface |
CfnRecipe.SecondaryInputProperty
Represents secondary inputs in a UNION transform.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnRecipe(software.constructs.Construct scope,
String id,
CfnRecipeProps props)
Create a new `AWS::DataBrew::Recipe`.
|
protected |
CfnRecipe(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnRecipe(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
The description of the recipe.
|
String |
getName()
The unique name for the recipe.
|
Object |
getSteps()
A list of steps that are defined by the recipe.
|
TagManager |
getTags()
Metadata tags that have been applied to the recipe.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDescription(String value)
The description of the recipe.
|
void |
setName(String value)
The unique name for the recipe.
|
void |
setSteps(IResolvable value)
A list of steps that are defined by the recipe.
|
void |
setSteps(List<Object> value)
A list of steps that are defined by the recipe.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnRecipe(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnRecipe(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnRecipe(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnRecipeProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @NotNull public Object getSteps()
@Stability(value=Stable)
public void setSteps(@NotNull
IResolvable value)
@Stability(value=Stable)
public void setSteps(@NotNull
List<Object> value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
Copyright © 2022. All rights reserved.