1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. databrew
  5. Project

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.databrew.Project

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Resource schema for AWS::DataBrew::Project.

Example Usage

Example

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;

return await Deployment.RunAsync(() => 
{
    var testDataBrewProject = new AwsNative.DataBrew.Project("testDataBrewProject", new()
    {
        Name = "project-name",
        RecipeName = "recipe-name",
        DatasetName = "dataset-name",
        RoleArn = "arn:aws:iam::12345678910:role/PassRoleAdmin",
        Sample = new AwsNative.DataBrew.Inputs.ProjectSampleArgs
        {
            Size = 500,
            Type = AwsNative.DataBrew.ProjectSampleType.LastN,
        },
    });

});
Copy
package main

import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/databrew"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := databrew.NewProject(ctx, "testDataBrewProject", &databrew.ProjectArgs{
			Name:        pulumi.String("project-name"),
			RecipeName:  pulumi.String("recipe-name"),
			DatasetName: pulumi.String("dataset-name"),
			RoleArn:     pulumi.String("arn:aws:iam::12345678910:role/PassRoleAdmin"),
			Sample: &databrew.ProjectSampleArgs{
				Size: pulumi.Int(500),
				Type: databrew.ProjectSampleTypeLastN,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy

Coming soon!

import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const testDataBrewProject = new aws_native.databrew.Project("testDataBrewProject", {
    name: "project-name",
    recipeName: "recipe-name",
    datasetName: "dataset-name",
    roleArn: "arn:aws:iam::12345678910:role/PassRoleAdmin",
    sample: {
        size: 500,
        type: aws_native.databrew.ProjectSampleType.LastN,
    },
});
Copy
import pulumi
import pulumi_aws_native as aws_native

test_data_brew_project = aws_native.databrew.Project("testDataBrewProject",
    name="project-name",
    recipe_name="recipe-name",
    dataset_name="dataset-name",
    role_arn="arn:aws:iam::12345678910:role/PassRoleAdmin",
    sample={
        "size": 500,
        "type": aws_native.databrew.ProjectSampleType.LAST_N,
    })
Copy

Coming soon!

Example

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;

return await Deployment.RunAsync(() => 
{
    var myDataBrewProject = new AwsNative.DataBrew.Project("myDataBrewProject", new()
    {
        Name = "test-project",
        RecipeName = "test-project-recipe",
        DatasetName = "test-dataset",
        RoleArn = "arn:aws:iam::1234567891011:role/PassRoleAdmin",
        Sample = new AwsNative.DataBrew.Inputs.ProjectSampleArgs
        {
            Size = 500,
            Type = AwsNative.DataBrew.ProjectSampleType.LastN,
        },
        Tags = new[]
        {
            new AwsNative.Inputs.TagArgs
            {
                Key = "key00AtCreate",
                Value = "value001AtCreate",
            },
        },
    });

});
Copy
package main

import (
	awsnative "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/databrew"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := databrew.NewProject(ctx, "myDataBrewProject", &databrew.ProjectArgs{
			Name:        pulumi.String("test-project"),
			RecipeName:  pulumi.String("test-project-recipe"),
			DatasetName: pulumi.String("test-dataset"),
			RoleArn:     pulumi.String("arn:aws:iam::1234567891011:role/PassRoleAdmin"),
			Sample: &databrew.ProjectSampleArgs{
				Size: pulumi.Int(500),
				Type: databrew.ProjectSampleTypeLastN,
			},
			Tags: aws.TagArray{
				&aws.TagArgs{
					Key:   pulumi.String("key00AtCreate"),
					Value: pulumi.String("value001AtCreate"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy

Coming soon!

import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const myDataBrewProject = new aws_native.databrew.Project("myDataBrewProject", {
    name: "test-project",
    recipeName: "test-project-recipe",
    datasetName: "test-dataset",
    roleArn: "arn:aws:iam::1234567891011:role/PassRoleAdmin",
    sample: {
        size: 500,
        type: aws_native.databrew.ProjectSampleType.LastN,
    },
    tags: [{
        key: "key00AtCreate",
        value: "value001AtCreate",
    }],
});
Copy
import pulumi
import pulumi_aws_native as aws_native

my_data_brew_project = aws_native.databrew.Project("myDataBrewProject",
    name="test-project",
    recipe_name="test-project-recipe",
    dataset_name="test-dataset",
    role_arn="arn:aws:iam::1234567891011:role/PassRoleAdmin",
    sample={
        "size": 500,
        "type": aws_native.databrew.ProjectSampleType.LAST_N,
    },
    tags=[{
        "key": "key00AtCreate",
        "value": "value001AtCreate",
    }])
Copy

Coming soon!

Create Project Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Project(name: string, args: ProjectArgs, opts?: CustomResourceOptions);
@overload
def Project(resource_name: str,
            args: ProjectArgs,
            opts: Optional[ResourceOptions] = None)

@overload
def Project(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            dataset_name: Optional[str] = None,
            recipe_name: Optional[str] = None,
            role_arn: Optional[str] = None,
            name: Optional[str] = None,
            sample: Optional[ProjectSampleArgs] = None,
            tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewProject(ctx *Context, name string, args ProjectArgs, opts ...ResourceOption) (*Project, error)
public Project(string name, ProjectArgs args, CustomResourceOptions? opts = null)
public Project(String name, ProjectArgs args)
public Project(String name, ProjectArgs args, CustomResourceOptions options)
type: aws-native:databrew:Project
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ProjectArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ProjectArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ProjectArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ProjectArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ProjectArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Project Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Project resource accepts the following input properties:

DatasetName This property is required. string
Dataset name
RecipeName This property is required. string
Recipe name
RoleArn This property is required. string
Role arn
Name string
Project name
Sample Pulumi.AwsNative.DataBrew.Inputs.ProjectSample
Sample
Tags List<Pulumi.AwsNative.Inputs.Tag>
Metadata tags that have been applied to the project.
DatasetName This property is required. string
Dataset name
RecipeName This property is required. string
Recipe name
RoleArn This property is required. string
Role arn
Name string
Project name
Sample ProjectSampleArgs
Sample
Tags TagArgs
Metadata tags that have been applied to the project.
datasetName This property is required. String
Dataset name
recipeName This property is required. String
Recipe name
roleArn This property is required. String
Role arn
name String
Project name
sample ProjectSample
Sample
tags List<Tag>
Metadata tags that have been applied to the project.
datasetName This property is required. string
Dataset name
recipeName This property is required. string
Recipe name
roleArn This property is required. string
Role arn
name string
Project name
sample ProjectSample
Sample
tags Tag[]
Metadata tags that have been applied to the project.
dataset_name This property is required. str
Dataset name
recipe_name This property is required. str
Recipe name
role_arn This property is required. str
Role arn
name str
Project name
sample ProjectSampleArgs
Sample
tags Sequence[TagArgs]
Metadata tags that have been applied to the project.
datasetName This property is required. String
Dataset name
recipeName This property is required. String
Recipe name
roleArn This property is required. String
Role arn
name String
Project name
sample Property Map
Sample
tags List<Property Map>
Metadata tags that have been applied to the project.

Outputs

All input properties are implicitly available as output properties. Additionally, the Project resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Supporting Types

ProjectSample
, ProjectSampleArgs

Type This property is required. Pulumi.AwsNative.DataBrew.ProjectSampleType
Sample type
Size int
Sample size
Type This property is required. ProjectSampleType
Sample type
Size int
Sample size
type This property is required. ProjectSampleType
Sample type
size Integer
Sample size
type This property is required. ProjectSampleType
Sample type
size number
Sample size
type This property is required. ProjectSampleType
Sample type
size int
Sample size
type This property is required. "FIRST_N" | "LAST_N" | "RANDOM"
Sample type
size Number
Sample size

ProjectSampleType
, ProjectSampleTypeArgs

FirstN
FIRST_N
LastN
LAST_N
Random
RANDOM
ProjectSampleTypeFirstN
FIRST_N
ProjectSampleTypeLastN
LAST_N
ProjectSampleTypeRandom
RANDOM
FirstN
FIRST_N
LastN
LAST_N
Random
RANDOM
FirstN
FIRST_N
LastN
LAST_N
Random
RANDOM
FIRST_N
FIRST_N
LAST_N
LAST_N
RANDOM
RANDOM
"FIRST_N"
FIRST_N
"LAST_N"
LAST_N
"RANDOM"
RANDOM

Tag
, TagArgs

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi