Class CfnRecipe
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.databrew.CfnRecipe
- All Implemented Interfaces:
IInspectable,IRecipeRef,IEnvironmentAware,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:33.860Z")
@Stability(Stable)
public class CfnRecipe
extends CfnResource
implements IInspectable, IRecipeRef, ITaggable
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceRepresents a transformation and associated parameters that are used to apply a change to an AWS Glue DataBrew dataset.static final classA fluent builder forCfnRecipe.static interfaceRepresents an individual condition that evaluates to true or false.static interfaceRepresents how metadata stored in the AWS Glue Data Catalog is defined in a DataBrew dataset.static interfaceRepresents information on how DataBrew can find data, in either the AWS Glue Data Catalog or Amazon S3.static interfaceParameters that are used as inputs for various recipe actions.static interfaceRepresents a single step from a DataBrew recipe to be performed.static interfaceRepresents an Amazon S3 location (bucket name, bucket owner, and object key) where DataBrew can read input data, or write output from a job.static interfaceRepresents secondary inputs in a UNION transform.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.databrew.IRecipeRef
IRecipeRef.Jsii$Default, IRecipeRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnRecipe(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnRecipe(software.amazon.jsii.JsiiObjectRef objRef) CfnRecipe(software.constructs.Construct scope, String id, CfnRecipeProps props) Create a newAWS::DataBrew::Recipe. -
Method Summary
Modifier and TypeMethodDescriptionThe description of the recipe.getName()The unique name for the recipe.A reference to a Recipe resource.getSteps()A list of steps that are defined by the recipe.getTags()Tag Manager which manages the tags for this resource.Metadata tags that have been applied to the recipe.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnRecipe.renderProperties(Map<String, Object> props) voidsetDescription(String value) The description of the recipe.voidThe unique name for the recipe.voidA list of steps that are defined by the recipe.voidsetSteps(IResolvable value) A list of steps that are defined by the recipe.voidsetTagsRaw(List<CfnTag> value) Metadata tags that have been applied to the recipe.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnRecipe
protected CfnRecipe(software.amazon.jsii.JsiiObjectRef objRef) -
CfnRecipe
protected CfnRecipe(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnRecipe
@Stability(Stable) public CfnRecipe(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnRecipeProps props) Create a newAWS::DataBrew::Recipe.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
isCfnRecipe
Checks whether the given object is a CfnRecipe.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getRecipeRef
A reference to a Recipe resource.- Specified by:
getRecipeRefin interfaceIRecipeRef
-
getTags
Tag Manager which manages the tags for this resource. -
getName
The unique name for the recipe. -
setName
The unique name for the recipe. -
getSteps
A list of steps that are defined by the recipe.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRecipe.RecipeStepProperty> -
setSteps
A list of steps that are defined by the recipe. -
setSteps
A list of steps that are defined by the recipe. -
getDescription
The description of the recipe. -
setDescription
The description of the recipe. -
getTagsRaw
Metadata tags that have been applied to the recipe. -
setTagsRaw
Metadata tags that have been applied to the recipe.
-