@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.830Z") @Stability(value=Stable) 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.
|
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 |
|---|---|
|
CfnProject(software.constructs.Construct scope,
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 Map<String,Object> |
getCfnProperties() |
String |
getDatasetName()
The dataset that the project is to act upon.
|
String |
getName()
The unique name of a project.
|
String |
getRecipeName()
The name of a recipe that will be developed during a project session.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the role that will be assumed for this project.
|
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 Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDatasetName(String value)
The dataset that the project is to act upon.
|
void |
setName(String value)
The unique name of a project.
|
void |
setRecipeName(String value)
The name of a recipe that will be developed during a project session.
|
void |
setRoleArn(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, 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 CfnProject(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnProject(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
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.@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 getDatasetName()
@Stability(value=Stable)
public void setDatasetName(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getRecipeName()
@Stability(value=Stable)
public void setRecipeName(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getRoleArn()
@Stability(value=Stable)
public void setRoleArn(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getSample()
If this parameter isn't specified, then the sample consists of the first 500 rows from the dataset.
@Stability(value=Stable)
public void setSample(@Nullable
CfnProject.SampleProperty value)
If this parameter isn't specified, then the sample consists of the first 500 rows from the dataset.
@Stability(value=Stable)
public void setSample(@Nullable
IResolvable value)
If this parameter isn't specified, then the sample consists of the first 500 rows from the dataset.
Copyright © 2022. All rights reserved.