We recommend new projects start with resources from the AWS provider.
aws-native.cleanroomsml.TrainingDataset
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TrainingDataset resource accepts the following input properties:
- RoleArn string
- The ARN of the IAM role that Clean Rooms ML can assume to read the data referred to in the - dataSourcefield 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 - AccessDeniedExceptionerror.
- TrainingData 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.
- RoleArn string
- The ARN of the IAM role that Clean Rooms ML can assume to read the data referred to in the - dataSourcefield 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 - AccessDeniedExceptionerror.
- TrainingData []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.
- 
TagArgs 
- An arbitrary set of tags (key-value pairs) for this cleanrooms-ml training dataset.
- roleArn String
- The ARN of the IAM role that Clean Rooms ML can assume to read the data referred to in the - dataSourcefield 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 - AccessDeniedExceptionerror.
- trainingData 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.
- roleArn string
- The ARN of the IAM role that Clean Rooms ML can assume to read the data referred to in the - dataSourcefield 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 - AccessDeniedExceptionerror.
- trainingData 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 - dataSourcefield 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 - AccessDeniedExceptionerror.
- 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[TagArgs] 
- An arbitrary set of tags (key-value pairs) for this cleanrooms-ml training dataset.
- roleArn String
- The ARN of the IAM role that Clean Rooms ML can assume to read the data referred to in the - dataSourcefield 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 - AccessDeniedExceptionerror.
- trainingData 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.
- TrainingDataset stringArn 
- The Amazon Resource Name (ARN) of the training dataset.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status
TrainingDataset Status 
- The status of the training dataset.
- TrainingDataset stringArn 
- The Amazon Resource Name (ARN) of the training dataset.
- id String
- The provider-assigned unique ID for this managed resource.
- status
TrainingDataset Status 
- The status of the training dataset.
- trainingDataset StringArn 
- The Amazon Resource Name (ARN) of the training dataset.
- id string
- The provider-assigned unique ID for this managed resource.
- status
TrainingDataset Status 
- The status of the training dataset.
- trainingDataset stringArn 
- The Amazon Resource Name (ARN) of the training dataset.
- id str
- The provider-assigned unique ID for this managed resource.
- status
TrainingDataset 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.
- trainingDataset StringArn 
- The Amazon Resource Name (ARN) of the training dataset.
Supporting Types
Tag, TagArgs  
TrainingDatasetColumnSchema, TrainingDatasetColumnSchemaArgs        
- ColumnName string
- The name of a column.
- ColumnTypes List<Pulumi.Aws Native. Clean Rooms Ml. Training Dataset Column Type> 
- The data type of column.
- ColumnName string
- The name of a column.
- ColumnTypes []TrainingDataset Column Type 
- The data type of column.
- columnName String
- The name of a column.
- columnTypes List<TrainingDataset Column Type> 
- The data type of column.
- columnName string
- The name of a column.
- columnTypes 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.
- columnName String
- The name of a column.
- columnTypes List<"USER_ID" | "ITEM_ID" | "TIMESTAMP" | "CATEGORICAL_FEATURE" | "NUMERICAL_FEATURE">
- The data type of column.
TrainingDatasetColumnType, TrainingDatasetColumnTypeArgs        
- UserId 
- USER_ID
- ItemId 
- ITEM_ID
- Timestamp
- TIMESTAMP
- CategoricalFeature 
- CATEGORICAL_FEATURE
- NumericalFeature 
- NUMERICAL_FEATURE
- TrainingDataset Column Type User Id 
- USER_ID
- TrainingDataset Column Type Item Id 
- ITEM_ID
- TrainingDataset Column Type Timestamp 
- TIMESTAMP
- TrainingDataset Column Type Categorical Feature 
- CATEGORICAL_FEATURE
- TrainingDataset Column Type Numerical Feature 
- NUMERICAL_FEATURE
- UserId 
- USER_ID
- ItemId 
- ITEM_ID
- Timestamp
- TIMESTAMP
- CategoricalFeature 
- CATEGORICAL_FEATURE
- NumericalFeature 
- NUMERICAL_FEATURE
- UserId 
- USER_ID
- ItemId 
- ITEM_ID
- Timestamp
- TIMESTAMP
- CategoricalFeature 
- CATEGORICAL_FEATURE
- NumericalFeature 
- 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        
- GlueData 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.
- GlueData TrainingSource Dataset Glue Data Source 
- A GlueDataSource object that defines the catalog ID, database name, and table name for the training data.
- glueData TrainingSource Dataset Glue Data Source 
- A GlueDataSource object that defines the catalog ID, database name, and table name for the training data.
- glueData 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.
- glueData Property MapSource 
- A GlueDataSource object that defines the catalog ID, database name, and table name for the training data.
TrainingDatasetDataset, TrainingDatasetDatasetArgs      
- InputConfig 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.
- InputConfig TrainingDataset Dataset Input Config 
- A DatasetInputConfig object that defines the data source and schema mapping.
- Type
TrainingDataset Dataset Type 
- What type of information is found in the dataset.
- inputConfig TrainingDataset Dataset Input Config 
- A DatasetInputConfig object that defines the data source and schema mapping.
- type
TrainingDataset Dataset Type 
- What type of information is found in the dataset.
- inputConfig TrainingDataset Dataset Input Config 
- A DatasetInputConfig object that defines the data source and schema mapping.
- type
TrainingDataset 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
TrainingDataset Dataset Type 
- What type of information is found in the dataset.
- inputConfig 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          
- DataSource 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.
- DataSource TrainingDataset Data Source 
- A DataSource object that specifies the Glue data source for the training data.
- Schema
[]TrainingDataset Column Schema 
- The schema information for the training data.
- dataSource TrainingDataset Data Source 
- A DataSource object that specifies the Glue data source for the training data.
- schema
List<TrainingDataset Column Schema> 
- The schema information for the training data.
- dataSource TrainingDataset Data Source 
- A DataSource object that specifies the Glue data source for the training data.
- schema
TrainingDataset 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[TrainingDataset Column Schema] 
- The schema information for the training data.
- dataSource 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
- TrainingDataset Dataset Type Interactions 
- INTERACTIONS
- Interactions
- INTERACTIONS
- Interactions
- INTERACTIONS
- INTERACTIONS
- INTERACTIONS
- "INTERACTIONS"
- INTERACTIONS
TrainingDatasetGlueDataSource, TrainingDatasetGlueDataSourceArgs          
- DatabaseName string
- The Glue database that contains the training data.
- TableName string
- The Glue table that contains the training data.
- CatalogId string
- The Glue catalog that contains the training data.
- DatabaseName string
- The Glue database that contains the training data.
- TableName string
- The Glue table that contains the training data.
- CatalogId string
- The Glue catalog that contains the training data.
- databaseName String
- The Glue database that contains the training data.
- tableName String
- The Glue table that contains the training data.
- catalogId String
- The Glue catalog that contains the training data.
- databaseName string
- The Glue database that contains the training data.
- tableName string
- The Glue table that contains the training data.
- catalogId 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.
- databaseName String
- The Glue database that contains the training data.
- tableName String
- The Glue table that contains the training data.
- catalogId String
- The Glue catalog that contains the training data.
TrainingDatasetStatus, TrainingDatasetStatusArgs      
- Active
- ACTIVE
- TrainingDataset Status Active 
- ACTIVE
- Active
- ACTIVE
- Active
- ACTIVE
- ACTIVE
- ACTIVE
- "ACTIVE"
- ACTIVE
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.