aws-native.databrew.Project
Resource schema for AWS::DataBrew::Project.
Example Usage
Example
using System.Collections.Generic;
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,
},
});
});
Coming soon!
Coming soon!
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=aws_native.databrew.ProjectSampleArgs(
size=500,
type=aws_native.databrew.ProjectSampleType.LAST_N,
))
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,
},
});
Coming soon!
Example
using System.Collections.Generic;
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.DataBrew.Inputs.ProjectTagArgs
{
Key = "key00AtCreate",
Value = "value001AtCreate",
},
},
});
});
Coming soon!
Coming soon!
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=aws_native.databrew.ProjectSampleArgs(
size=500,
type=aws_native.databrew.ProjectSampleType.LAST_N,
),
tags=[aws_native.databrew.ProjectTagArgs(
key="key00AtCreate",
value="value001AtCreate",
)])
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",
}],
});
Coming soon!
Create Project Resource
new Project(name: string, args: ProjectArgs, opts?: CustomResourceOptions);
@overload
def Project(resource_name: str,
opts: Optional[ResourceOptions] = None,
dataset_name: Optional[str] = None,
name: Optional[str] = None,
recipe_name: Optional[str] = None,
role_arn: Optional[str] = None,
sample: Optional[ProjectSampleArgs] = None,
tags: Optional[Sequence[ProjectTagArgs]] = None)
@overload
def Project(resource_name: str,
args: ProjectArgs,
opts: Optional[ResourceOptions] = 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.
- name string
- The unique name of the resource.
- args ProjectArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args ProjectArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProjectArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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
The Project resource accepts the following input properties:
- Dataset
Name string Dataset name
- Recipe
Name string Recipe name
- Role
Arn string Role arn
- Name string
Project name
- Sample
Pulumi.
Aws Native. Data Brew. Inputs. Project Sample Args Sample
- List<Pulumi.
Aws Native. Data Brew. Inputs. Project Tag Args>
- Dataset
Name string Dataset name
- Recipe
Name string Recipe name
- Role
Arn string Role arn
- Name string
Project name
- Sample
Project
Sample Args Sample
- []Project
Tag Args
- dataset
Name String Dataset name
- recipe
Name String Recipe name
- role
Arn String Role arn
- name String
Project name
- sample
Project
Sample Args Sample
- List<Project
Tag Args>
- dataset
Name string Dataset name
- recipe
Name string Recipe name
- role
Arn string Role arn
- name string
Project name
- sample
Project
Sample Args Sample
- Project
Tag Args[]
- dataset_
name str Dataset name
- recipe_
name str Recipe name
- role_
arn str Role arn
- name str
Project name
- sample
Project
Sample Args Sample
- Sequence[Project
Tag Args]
- dataset
Name String Dataset name
- recipe
Name String Recipe name
- role
Arn String Role arn
- name String
Project name
- sample Property Map
Sample
- List<Property Map>
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
- Type
Pulumi.
Aws Native. Data Brew. Project Sample Type Sample type
- Size int
Sample size
- Type
Project
Sample Type Sample type
- Size int
Sample size
- type
Project
Sample Type Sample type
- size Integer
Sample size
- type
Project
Sample Type Sample type
- size number
Sample size
- type
Project
Sample Type Sample type
- size int
Sample size
- type "FIRST_N" | "LAST_N" | "RANDOM"
Sample type
- size Number
Sample size
ProjectSampleType
- First
N - FIRST_N
- Last
N - LAST_N
- Random
- RANDOM
- Project
Sample Type First N - FIRST_N
- Project
Sample Type Last N - LAST_N
- Project
Sample Type Random - RANDOM
- First
N - FIRST_N
- Last
N - LAST_N
- Random
- RANDOM
- First
N - FIRST_N
- Last
N - LAST_N
- Random
- RANDOM
- FIRST_N
- FIRST_N
- LAST_N
- LAST_N
- RANDOM
- RANDOM
- "FIRST_N"
- FIRST_N
- "LAST_N"
- LAST_N
- "RANDOM"
- RANDOM
ProjectTag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0