Class CfnProject
A CloudFormation AWS::DataBrew::Project
.
Inherited Members
Namespace: Amazon.CDK.AWS.DataBrew
Assembly: Amazon.CDK.AWS.DataBrew.dll
Syntax (csharp)
public class CfnProject : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnProject
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Specifies a new AWS Glue DataBrew project.
CloudformationResource: AWS::DataBrew::Project
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-project.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataBrew;
var cfnProject = new CfnProject(this, "MyCfnProject", new CfnProjectProps {
DatasetName = "datasetName",
Name = "name",
RecipeName = "recipeName",
RoleArn = "roleArn",
// the properties below are optional
Sample = new SampleProperty {
Type = "type",
// the properties below are optional
Size = 123
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnProject(Construct, String, ICfnProjectProps) | Create a new |
CfnProject(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnProject(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
DatasetName | The dataset that the project is to act upon. |
Name | The unique name of a project. |
RecipeName | The name of a recipe that will be developed during a project session. |
RoleArn | The Amazon Resource Name (ARN) of the role that will be assumed for this project. |
Sample | The sample size and sampling type to apply to the data. |
Tags | Metadata tags that have been applied to the project. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnProject(Construct, String, ICfnProjectProps)
Create a new AWS::DataBrew::Project
.
public CfnProject(Construct scope, string id, ICfnProjectProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnProjectProps
- resource properties.
CfnProject(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnProject(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnProject(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnProject(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
DatasetName
The dataset that the project is to act upon.
public virtual string DatasetName { get; set; }
Property Value
System.String
Remarks
Name
The unique name of a project.
public virtual string Name { get; set; }
Property Value
System.String
Remarks
RecipeName
The name of a recipe that will be developed during a project session.
public virtual string RecipeName { get; set; }
Property Value
System.String
Remarks
RoleArn
The Amazon Resource Name (ARN) of the role that will be assumed for this project.
public virtual string RoleArn { get; set; }
Property Value
System.String
Remarks
Sample
The sample size and sampling type to apply to the data.
public virtual object Sample { get; set; }
Property Value
System.Object
Remarks
If this parameter isn't specified, then the sample consists of the first 500 rows from the dataset.
Tags
Metadata tags that have been applied to the project.
public virtual TagManager Tags { get; }
Property Value
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>