CfnProjectProps

class aws_cdk.aws_databrew.CfnProjectProps(*, dataset_name, name, recipe_name, role_arn, sample=None, tags=None)

Bases: object

Properties for defining a CfnProject.

Parameters:
  • dataset_name (str) – The dataset that the project is to act upon.

  • name (str) – The unique name of a project.

  • recipe_name (str) – The name of a recipe that will be developed during a project session.

  • role_arn (str) – The Amazon Resource Name (ARN) of the role that will be assumed for this project.

  • sample (Union[IResolvable, SampleProperty, Dict[str, Any], None]) – The sample size and sampling type to apply to the data. If this parameter isn’t specified, then the sample consists of the first 500 rows from the dataset.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – Metadata tags that have been applied to the project.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-project.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_databrew as databrew

cfn_project_props = databrew.CfnProjectProps(
    dataset_name="datasetName",
    name="name",
    recipe_name="recipeName",
    role_arn="roleArn",

    # the properties below are optional
    sample=databrew.CfnProject.SampleProperty(
        type="type",

        # the properties below are optional
        size=123
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

dataset_name

The dataset that the project is to act upon.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-project.html#cfn-databrew-project-datasetname

name

The unique name of a project.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-project.html#cfn-databrew-project-name

recipe_name

The name of a recipe that will be developed during a project session.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-project.html#cfn-databrew-project-recipename

role_arn

The Amazon Resource Name (ARN) of the role that will be assumed for this project.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-project.html#cfn-databrew-project-rolearn

sample

The sample size and sampling type to apply to the data.

If this parameter isn’t specified, then the sample consists of the first 500 rows from the dataset.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-project.html#cfn-databrew-project-sample

tags

Metadata tags that have been applied to the project.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-project.html#cfn-databrew-project-tags