interface DatasetProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.aws_cleanroomsml.CfnTrainingDataset.DatasetProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscleanroomsml#CfnTrainingDataset_DatasetProperty |
Java | software.amazon.awscdk.services.cleanroomsml.CfnTrainingDataset.DatasetProperty |
Python | aws_cdk.aws_cleanroomsml.CfnTrainingDataset.DatasetProperty |
TypeScript | aws-cdk-lib » aws_cleanroomsml » CfnTrainingDataset » DatasetProperty |
Defines where the training dataset is located, what type of data it contains, and how to access the data.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cleanroomsml as cleanroomsml } from 'aws-cdk-lib';
const datasetProperty: cleanroomsml.CfnTrainingDataset.DatasetProperty = {
inputConfig: {
dataSource: {
glueDataSource: {
databaseName: 'databaseName',
tableName: 'tableName',
// the properties below are optional
catalogId: 'catalogId',
},
},
schema: [{
columnName: 'columnName',
columnTypes: ['columnTypes'],
}],
},
type: 'type',
};
Properties
Name | Type | Description |
---|---|---|
input | IResolvable | Dataset | A DatasetInputConfig object that defines the data source and schema mapping. |
type | string | What type of information is found in the dataset. |
inputConfig
Type:
IResolvable
|
Dataset
A DatasetInputConfig object that defines the data source and schema mapping.
type
Type:
string
What type of information is found in the dataset.