interface DatasetImportJobProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Personalize.CfnDataset.DatasetImportJobProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awspersonalize#CfnDataset_DatasetImportJobProperty |
![]() | software.amazon.awscdk.services.personalize.CfnDataset.DatasetImportJobProperty |
![]() | aws_cdk.aws_personalize.CfnDataset.DatasetImportJobProperty |
![]() | aws-cdk-lib » aws_personalize » CfnDataset » DatasetImportJobProperty |
Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset.
A dataset import job can be in one of the following states:
- CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
If you specify a dataset import job as part of a dataset, all dataset import job fields are required.
Example
// 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 datasetImportJobProperty: personalize.CfnDataset.DatasetImportJobProperty = {
datasetArn: 'datasetArn',
datasetImportJobArn: 'datasetImportJobArn',
dataSource: dataSource,
jobName: 'jobName',
roleArn: 'roleArn',
};
Properties
Name | Type | Description |
---|---|---|
data | any | The Amazon S3 bucket that contains the training data to import. |
dataset | string | The Amazon Resource Name (ARN) of the dataset that receives the imported data. |
dataset | string | The ARN of the dataset import job. |
job | string | The name of the import job. |
role | string | The ARN of the IAM role that has permissions to read from the Amazon S3 data source. |
dataSource?
Type:
any
(optional)
The Amazon S3 bucket that contains the training data to import.
datasetArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the dataset that receives the imported data.
datasetImportJobArn?
Type:
string
(optional)
The ARN of the dataset import job.
jobName?
Type:
string
(optional)
The name of the import job.
roleArn?
Type:
string
(optional)
The ARN of the IAM role that has permissions to read from the Amazon S3 data source.