@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:21.302Z") public class CfnProject extends CfnResource implements IInspectable
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();
Modifier and Type | Class and Description |
---|---|
static class |
CfnProject.Builder
A fluent builder for
CfnProject . |
static interface |
CfnProject.SampleProperty
Represents the sample size and sampling type for DataBrew to use for interactive data analysis.
|
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnProject(Construct scope,
java.lang.String id,
CfnProjectProps props)
Create a new `AWS::DataBrew::Project`.
|
protected |
CfnProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnProject(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getDatasetName()
The dataset that the project is to act upon.
|
java.lang.String |
getName()
The unique name of a project.
|
java.lang.String |
getRecipeName()
The name of a recipe that will be developed during a project session.
|
java.lang.String |
getRoleArn()
The Amazon Resource Name (ARN) of the role that will be assumed for this project.
|
java.lang.Object |
getSample()
The sample size and sampling type to apply to the data.
|
TagManager |
getTags()
Metadata tags that have been applied to the project.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setDatasetName(java.lang.String value)
The dataset that the project is to act upon.
|
void |
setName(java.lang.String value)
The unique name of a project.
|
void |
setRecipeName(java.lang.String value)
The name of a recipe that will be developed during a project session.
|
void |
setRoleArn(java.lang.String value)
The Amazon Resource Name (ARN) of the role that will be assumed for this project.
|
void |
setSample(CfnProject.SampleProperty value)
The sample size and sampling type to apply to the data.
|
void |
setSample(IResolvable value)
The sample size and sampling type to apply to the data.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnProject(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnProject(Construct scope, java.lang.String id, CfnProjectProps 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.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
public java.lang.String getDatasetName()
public void setDatasetName(java.lang.String value)
public java.lang.String getName()
public void setName(java.lang.String value)
public java.lang.String getRecipeName()
public void setRecipeName(java.lang.String value)
public java.lang.String getRoleArn()
public void setRoleArn(java.lang.String value)
public java.lang.Object getSample()
If this parameter isn't specified, then the sample consists of the first 500 rows from the dataset.
public void setSample(IResolvable value)
If this parameter isn't specified, then the sample consists of the first 500 rows from the dataset.
public void setSample(CfnProject.SampleProperty value)
If this parameter isn't specified, then the sample consists of the first 500 rows from the dataset.