Class CfnProject
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.CfnProject
- All Implemented Interfaces:
IInspectable,IProjectRef,IEnvironmentAware,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:07.957Z")
@Stability(Stable)
public class CfnProject
extends CfnResource
implements IInspectable, IProjectRef, ITaggable
Specifies a new AWS Glue DataBrew project.
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.*;
CfnProject cfnProject = CfnProject.Builder.create(this, "MyCfnProject")
.datasetName("datasetName")
.name("name")
.recipeName("recipeName")
.roleArn("roleArn")
// the properties below are optional
.sample(SampleProperty.builder()
.type("type")
// the properties below are optional
.size(123)
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnProject.static interfaceRepresents the sample size and sampling type for DataBrew to use for interactive data analysis.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.IProjectRef
IProjectRef.Jsii$Default, IProjectRef.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
ConstructorsModifierConstructorDescriptionprotectedCfnProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnProject(software.amazon.jsii.JsiiObjectRef objRef) CfnProject(software.constructs.Construct scope, String id, CfnProjectProps props) Create a newAWS::DataBrew::Project. -
Method Summary
Modifier and TypeMethodDescriptionThe dataset that the project is to act upon.getName()The unique name of a project.A reference to a Project resource.The name of a recipe that will be developed during a project session.The Amazon Resource Name (ARN) of the role that will be assumed for this project.The sample size and sampling type to apply to the data.getTags()Tag Manager which manages the tags for this resource.Metadata tags that have been applied to the project.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnProject.renderProperties(Map<String, Object> props) voidsetDatasetName(String value) The dataset that the project is to act upon.voidThe unique name of a project.voidsetRecipeName(String value) The name of a recipe that will be developed during a project session.voidsetRoleArn(String value) The Amazon Resource Name (ARN) of the role that will be assumed for this project.voidsetSample(IResolvable value) The sample size and sampling type to apply to the data.voidThe sample size and sampling type to apply to the data.voidsetTagsRaw(List<CfnTag> value) Metadata tags that have been applied to the project.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
-
CfnProject
protected CfnProject(software.amazon.jsii.JsiiObjectRef objRef) -
CfnProject
protected CfnProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnProject
@Stability(Stable) public CfnProject(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnProjectProps props) Create a newAWS::DataBrew::Project.- 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
-
isCfnProject
Checks whether the given object is a CfnProject.- 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
-
getProjectRef
A reference to a Project resource.- Specified by:
getProjectRefin interfaceIProjectRef
-
getTags
Tag Manager which manages the tags for this resource. -
getDatasetName
The dataset that the project is to act upon. -
setDatasetName
The dataset that the project is to act upon. -
getName
The unique name of a project. -
setName
The unique name of a project. -
getRecipeName
The name of a recipe that will be developed during a project session. -
setRecipeName
The name of a recipe that will be developed during a project session. -
getRoleArn
The Amazon Resource Name (ARN) of the role that will be assumed for this project. -
setRoleArn
The Amazon Resource Name (ARN) of the role that will be assumed for this project. -
getSample
The sample size and sampling type to apply to the data.Returns union: either
IResolvableorCfnProject.SampleProperty -
setSample
The sample size and sampling type to apply to the data. -
setSample
The sample size and sampling type to apply to the data. -
getTagsRaw
Metadata tags that have been applied to the project. -
setTagsRaw
Metadata tags that have been applied to the project.
-