AWS::Personalize::Dataset DatasetImportJob - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Personalize::Dataset DatasetImportJob

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.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "DatasetArn" : String, "DatasetImportJobArn" : String, "DataSource" : DataSource, "JobName" : String, "RoleArn" : String }

YAML

DatasetArn: String DatasetImportJobArn: String DataSource: DataSource JobName: String RoleArn: String

Properties

DatasetArn

The Amazon Resource Name (ARN) of the dataset that receives the imported data.

Required: No

Type: String

Pattern: arn:([a-z\d-]+):personalize:.*:.*:.+

Maximum: 256

Update requires: No interruption

DatasetImportJobArn

The ARN of the dataset import job.

Required: No

Type: String

Pattern: arn:([a-z\d-]+):personalize:.*:.*:.+

Maximum: 256

Update requires: No interruption

DataSource

The Amazon S3 bucket that contains the training data to import.

Required: No

Type: DataSource

Update requires: No interruption

JobName

The name of the import job.

Required: No

Type: String

Pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-_]*

Minimum: 1

Maximum: 63

Update requires: No interruption

RoleArn

The ARN of the IAM role that has permissions to read from the Amazon S3 data source.

Required: No

Type: String

Pattern: arn:([a-z\d-]+):iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+

Maximum: 256

Update requires: No interruption