CfnDatasetProps Struct
Properties for defining a CfnDataset.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_personalize as personalize } from 'aws-cdk-lib';
declare const dataSource: any;
const cfnDatasetProps: personalize.CfnDatasetProps = {
datasetGroupArn: 'datasetGroupArn',
datasetType: 'datasetType',
name: 'name',
schemaArn: 'schemaArn',
// the properties below are optional
datasetImportJob: {
datasetArn: 'datasetArn',
datasetImportJobArn: 'datasetImportJobArn',
dataSource: dataSource,
jobName: 'jobName',
roleArn: 'roleArn',
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
datasetGroupArnstringdataset_group_arnstrdatasetGroupArnStringDatasetGroupArnstringDatasetGroupArn*stringrequired#The Amazon Resource Name (ARN) of the dataset group.
datasetImportJoboptionalIResolvable | CfnDataset.DatasetImportJobPropertydataset_import_joboptionaltyping.Union[IResolvable, DatasetImportJobProperty]datasetImportJoboptionalIResolvableDatasetImportJoboptionalIResolvableDatasetImportJoboptionalinterface{}#Describes 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.
One of the following values:.
- Interactions
- Items
- Users
You can't use CloudFormation to create an Action Interactions or Actions dataset.
The name of the dataset.
The ARN of the associated schema.