AWS Native is in preview. AWS Classic is fully supported.
aws-native.cleanroomsml.TrainingDataset
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Definition of AWS::CleanRoomsML::TrainingDataset Resource Type
Create TrainingDataset Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TrainingDataset(name: string, args: TrainingDatasetArgs, opts?: CustomResourceOptions);
@overload
def TrainingDataset(resource_name: str,
args: TrainingDatasetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TrainingDataset(resource_name: str,
opts: Optional[ResourceOptions] = None,
role_arn: Optional[str] = None,
training_data: Optional[Sequence[TrainingDatasetDatasetArgs]] = None,
description: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewTrainingDataset(ctx *Context, name string, args TrainingDatasetArgs, opts ...ResourceOption) (*TrainingDataset, error)
public TrainingDataset(string name, TrainingDatasetArgs args, CustomResourceOptions? opts = null)
public TrainingDataset(String name, TrainingDatasetArgs args)
public TrainingDataset(String name, TrainingDatasetArgs args, CustomResourceOptions options)
type: aws-native:cleanroomsml:TrainingDataset
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TrainingDatasetArgs
- 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 TrainingDatasetArgs
- 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 TrainingDatasetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TrainingDatasetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TrainingDatasetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TrainingDataset 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 TrainingDataset resource accepts the following input properties:
- Role
Arn string The ARN of the IAM role that Clean Rooms ML can assume to read the data referred to in the
dataSource
field of each dataset.Passing a role across accounts is not allowed. If you pass a role that isn't in your account, you get an
AccessDeniedException
error.- Training
Data List<Pulumi.Aws Native. Clean Rooms Ml. Inputs. Training Dataset Dataset> - An array of information that lists the Dataset objects, which specifies the dataset type and details on its location and schema. You must provide a role that has read access to these tables.
- Description string
- The description of the training dataset.
- Name string
- The name of the training dataset.
- List<Pulumi.
Aws Native. Inputs. Tag> - An arbitrary set of tags (key-value pairs) for this cleanrooms-ml training dataset.
- Role
Arn string The ARN of the IAM role that Clean Rooms ML can assume to read the data referred to in the
dataSource
field of each dataset.Passing a role across accounts is not allowed. If you pass a role that isn't in your account, you get an
AccessDeniedException
error.- Training
Data []TrainingDataset Dataset Args - An array of information that lists the Dataset objects, which specifies the dataset type and details on its location and schema. You must provide a role that has read access to these tables.
- Description string
- The description of the training dataset.
- Name string
- The name of the training dataset.
- Tag
Args - An arbitrary set of tags (key-value pairs) for this cleanrooms-ml training dataset.
- role
Arn String The ARN of the IAM role that Clean Rooms ML can assume to read the data referred to in the
dataSource
field of each dataset.Passing a role across accounts is not allowed. If you pass a role that isn't in your account, you get an
AccessDeniedException
error.- training
Data List<TrainingDataset Dataset> - An array of information that lists the Dataset objects, which specifies the dataset type and details on its location and schema. You must provide a role that has read access to these tables.
- description String
- The description of the training dataset.
- name String
- The name of the training dataset.
- List<Tag>
- An arbitrary set of tags (key-value pairs) for this cleanrooms-ml training dataset.
- role
Arn string The ARN of the IAM role that Clean Rooms ML can assume to read the data referred to in the
dataSource
field of each dataset.Passing a role across accounts is not allowed. If you pass a role that isn't in your account, you get an
AccessDeniedException
error.- training
Data TrainingDataset Dataset[] - An array of information that lists the Dataset objects, which specifies the dataset type and details on its location and schema. You must provide a role that has read access to these tables.
- description string
- The description of the training dataset.
- name string
- The name of the training dataset.
- Tag[]
- An arbitrary set of tags (key-value pairs) for this cleanrooms-ml training dataset.
- role_
arn str The ARN of the IAM role that Clean Rooms ML can assume to read the data referred to in the
dataSource
field of each dataset.Passing a role across accounts is not allowed. If you pass a role that isn't in your account, you get an
AccessDeniedException
error.- training_
data Sequence[TrainingDataset Dataset Args] - An array of information that lists the Dataset objects, which specifies the dataset type and details on its location and schema. You must provide a role that has read access to these tables.
- description str
- The description of the training dataset.
- name str
- The name of the training dataset.
- Sequence[Tag
Args] - An arbitrary set of tags (key-value pairs) for this cleanrooms-ml training dataset.
- role
Arn String The ARN of the IAM role that Clean Rooms ML can assume to read the data referred to in the
dataSource
field of each dataset.Passing a role across accounts is not allowed. If you pass a role that isn't in your account, you get an
AccessDeniedException
error.- training
Data List<Property Map> - An array of information that lists the Dataset objects, which specifies the dataset type and details on its location and schema. You must provide a role that has read access to these tables.
- description String
- The description of the training dataset.
- name String
- The name of the training dataset.
- List<Property Map>
- An arbitrary set of tags (key-value pairs) for this cleanrooms-ml training dataset.
Outputs
All input properties are implicitly available as output properties. Additionally, the TrainingDataset resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Status
Pulumi.
Aws Native. Clean Rooms Ml. Training Dataset Status - The status of the training dataset.
- Training
Dataset stringArn - The Amazon Resource Name (ARN) of the training dataset.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status
Training
Dataset Status - The status of the training dataset.
- Training
Dataset stringArn - The Amazon Resource Name (ARN) of the training dataset.
- id String
- The provider-assigned unique ID for this managed resource.
- status
Training
Dataset Status - The status of the training dataset.
- training
Dataset StringArn - The Amazon Resource Name (ARN) of the training dataset.
- id string
- The provider-assigned unique ID for this managed resource.
- status
Training
Dataset Status - The status of the training dataset.
- training
Dataset stringArn - The Amazon Resource Name (ARN) of the training dataset.
- id str
- The provider-assigned unique ID for this managed resource.
- status
Training
Dataset Status - The status of the training dataset.
- training_
dataset_ strarn - The Amazon Resource Name (ARN) of the training dataset.
- id String
- The provider-assigned unique ID for this managed resource.
- status "ACTIVE"
- The status of the training dataset.
- training
Dataset StringArn - The Amazon Resource Name (ARN) of the training dataset.
Supporting Types
Tag, TagArgs
TrainingDatasetColumnSchema, TrainingDatasetColumnSchemaArgs
- Column
Name string - The name of a column.
- Column
Types List<Pulumi.Aws Native. Clean Rooms Ml. Training Dataset Column Type> - The data type of column.
- Column
Name string - The name of a column.
- Column
Types []TrainingDataset Column Type - The data type of column.
- column
Name String - The name of a column.
- column
Types List<TrainingDataset Column Type> - The data type of column.
- column
Name string - The name of a column.
- column
Types TrainingDataset Column Type[] - The data type of column.
- column_
name str - The name of a column.
- column_
types Sequence[TrainingDataset Column Type] - The data type of column.
- column
Name String - The name of a column.
- column
Types List<"USER_ID" | "ITEM_ID" | "TIMESTAMP" | "CATEGORICAL_FEATURE" | "NUMERICAL_FEATURE"> - The data type of column.
TrainingDatasetColumnType, TrainingDatasetColumnTypeArgs
- User
Id - USER_ID
- Item
Id - ITEM_ID
- Timestamp
- TIMESTAMP
- Categorical
Feature - CATEGORICAL_FEATURE
- Numerical
Feature - NUMERICAL_FEATURE
- Training
Dataset Column Type User Id - USER_ID
- Training
Dataset Column Type Item Id - ITEM_ID
- Training
Dataset Column Type Timestamp - TIMESTAMP
- Training
Dataset Column Type Categorical Feature - CATEGORICAL_FEATURE
- Training
Dataset Column Type Numerical Feature - NUMERICAL_FEATURE
- User
Id - USER_ID
- Item
Id - ITEM_ID
- Timestamp
- TIMESTAMP
- Categorical
Feature - CATEGORICAL_FEATURE
- Numerical
Feature - NUMERICAL_FEATURE
- User
Id - USER_ID
- Item
Id - ITEM_ID
- Timestamp
- TIMESTAMP
- Categorical
Feature - CATEGORICAL_FEATURE
- Numerical
Feature - NUMERICAL_FEATURE
- USER_ID
- USER_ID
- ITEM_ID
- ITEM_ID
- TIMESTAMP
- TIMESTAMP
- CATEGORICAL_FEATURE
- CATEGORICAL_FEATURE
- NUMERICAL_FEATURE
- NUMERICAL_FEATURE
- "USER_ID"
- USER_ID
- "ITEM_ID"
- ITEM_ID
- "TIMESTAMP"
- TIMESTAMP
- "CATEGORICAL_FEATURE"
- CATEGORICAL_FEATURE
- "NUMERICAL_FEATURE"
- NUMERICAL_FEATURE
TrainingDatasetDataSource, TrainingDatasetDataSourceArgs
- Glue
Data Pulumi.Source Aws Native. Clean Rooms Ml. Inputs. Training Dataset Glue Data Source - A GlueDataSource object that defines the catalog ID, database name, and table name for the training data.
- Glue
Data TrainingSource Dataset Glue Data Source - A GlueDataSource object that defines the catalog ID, database name, and table name for the training data.
- glue
Data TrainingSource Dataset Glue Data Source - A GlueDataSource object that defines the catalog ID, database name, and table name for the training data.
- glue
Data TrainingSource Dataset Glue Data Source - A GlueDataSource object that defines the catalog ID, database name, and table name for the training data.
- glue_
data_ Trainingsource Dataset Glue Data Source - A GlueDataSource object that defines the catalog ID, database name, and table name for the training data.
- glue
Data Property MapSource - A GlueDataSource object that defines the catalog ID, database name, and table name for the training data.
TrainingDatasetDataset, TrainingDatasetDatasetArgs
- Input
Config Pulumi.Aws Native. Clean Rooms Ml. Inputs. Training Dataset Dataset Input Config - A DatasetInputConfig object that defines the data source and schema mapping.
- Type
Pulumi.
Aws Native. Clean Rooms Ml. Training Dataset Dataset Type - What type of information is found in the dataset.
- Input
Config TrainingDataset Dataset Input Config - A DatasetInputConfig object that defines the data source and schema mapping.
- Type
Training
Dataset Dataset Type - What type of information is found in the dataset.
- input
Config TrainingDataset Dataset Input Config - A DatasetInputConfig object that defines the data source and schema mapping.
- type
Training
Dataset Dataset Type - What type of information is found in the dataset.
- input
Config TrainingDataset Dataset Input Config - A DatasetInputConfig object that defines the data source and schema mapping.
- type
Training
Dataset Dataset Type - What type of information is found in the dataset.
- input_
config TrainingDataset Dataset Input Config - A DatasetInputConfig object that defines the data source and schema mapping.
- type
Training
Dataset Dataset Type - What type of information is found in the dataset.
- input
Config Property Map - A DatasetInputConfig object that defines the data source and schema mapping.
- type "INTERACTIONS"
- What type of information is found in the dataset.
TrainingDatasetDatasetInputConfig, TrainingDatasetDatasetInputConfigArgs
- Data
Source Pulumi.Aws Native. Clean Rooms Ml. Inputs. Training Dataset Data Source - A DataSource object that specifies the Glue data source for the training data.
- Schema
List<Pulumi.
Aws Native. Clean Rooms Ml. Inputs. Training Dataset Column Schema> - The schema information for the training data.
- Data
Source TrainingDataset Data Source - A DataSource object that specifies the Glue data source for the training data.
- Schema
[]Training
Dataset Column Schema - The schema information for the training data.
- data
Source TrainingDataset Data Source - A DataSource object that specifies the Glue data source for the training data.
- schema
List<Training
Dataset Column Schema> - The schema information for the training data.
- data
Source TrainingDataset Data Source - A DataSource object that specifies the Glue data source for the training data.
- schema
Training
Dataset Column Schema[] - The schema information for the training data.
- data_
source TrainingDataset Data Source - A DataSource object that specifies the Glue data source for the training data.
- schema
Sequence[Training
Dataset Column Schema] - The schema information for the training data.
- data
Source Property Map - A DataSource object that specifies the Glue data source for the training data.
- schema List<Property Map>
- The schema information for the training data.
TrainingDatasetDatasetType, TrainingDatasetDatasetTypeArgs
- Interactions
- INTERACTIONS
- Training
Dataset Dataset Type Interactions - INTERACTIONS
- Interactions
- INTERACTIONS
- Interactions
- INTERACTIONS
- INTERACTIONS
- INTERACTIONS
- "INTERACTIONS"
- INTERACTIONS
TrainingDatasetGlueDataSource, TrainingDatasetGlueDataSourceArgs
- Database
Name string - The Glue database that contains the training data.
- Table
Name string - The Glue table that contains the training data.
- Catalog
Id string - The Glue catalog that contains the training data.
- Database
Name string - The Glue database that contains the training data.
- Table
Name string - The Glue table that contains the training data.
- Catalog
Id string - The Glue catalog that contains the training data.
- database
Name String - The Glue database that contains the training data.
- table
Name String - The Glue table that contains the training data.
- catalog
Id String - The Glue catalog that contains the training data.
- database
Name string - The Glue database that contains the training data.
- table
Name string - The Glue table that contains the training data.
- catalog
Id string - The Glue catalog that contains the training data.
- database_
name str - The Glue database that contains the training data.
- table_
name str - The Glue table that contains the training data.
- catalog_
id str - The Glue catalog that contains the training data.
- database
Name String - The Glue database that contains the training data.
- table
Name String - The Glue table that contains the training data.
- catalog
Id String - The Glue catalog that contains the training data.
TrainingDatasetStatus, TrainingDatasetStatusArgs
- Active
- ACTIVE
- Training
Dataset Status Active - ACTIVE
- Active
- ACTIVE
- Active
- ACTIVE
- ACTIVE
- ACTIVE
- "ACTIVE"
- ACTIVE
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.