AWS::Personalize::DatasetCreates an empty dataset and adds it to the specified dataset group. Use [CreateDatasetImportJob](https://docs.aws.amazon.com/personalize/latest/dg/API_CreateDatasetImportJob.html) to import your training data to a dataset. There are 5 types of datasets: - Item interactions - Items - Users - Action interactions (you can't use CloudFormation to create an Action interactions dataset) - Actions (you can't use CloudFormation to create an Actions dataset) Each dataset type has an associated schema with required field types. Only the `Item interactions` dataset is required in order to train a model (also referred to as creating a solution). A dataset can be in one of the following states: - CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED - DELETE PENDING > DELETE IN_PROGRESS To get the status of the dataset, call [DescribeDataset](https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeDataset.html) . **Related APIs** - [CreateDatasetGroup](https://docs.aws.amazon.com/personalize/latest/dg/API_CreateDatasetGroup.html) - [ListDatasets](https://docs.aws.amazon.com/personalize/latest/dg/API_ListDatasets.html) - [DescribeDataset](https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeDataset.html) - [DeleteDataset](https://docs.aws.amazon.com/personalize/latest/dg/API_DeleteDataset.html)
import { CfnDataset } from 'aws-cdk-lib/aws-personalize';Or use the module namespace:
import * as personalize from 'aws-cdk-lib/aws-personalize';
// personalize.CfnDatasetConfiguration passed to the constructor as CfnDatasetProps.
datasetGroupArnRequiredstringThe Amazon Resource Name (ARN) of the dataset group.
datasetTypeRequiredstringOne of the following values:. - Interactions - Items - Users > You can't use CloudFormation to create an Action Interactions or Actions dataset.
nameRequiredstringThe name of the dataset.
schemaArnRequiredstringThe ARN of the associated schema.
datasetImportJobOptionalIResolvable | DatasetImportJobPropertyDescribes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset. If you specify a dataset import job as part of a dataset, all dataset import job fields are required.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-personalizeAWS::Personalize::Dataset