AWS::Personalize::Dataset DataSource - 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 DataSource

Describes the data source that contains the data to upload to a dataset, or the list of records to delete from Amazon Personalize.

Syntax

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

JSON

{ "DataLocation" : String }

YAML

DataLocation: String

Properties

DataLocation

For dataset import jobs, the path to the Amazon S3 bucket where the data that you want to upload to your dataset is stored. For data deletion jobs, the path to the Amazon S3 bucket that stores the list of records to delete.

For example:

s3://bucket-name/folder-name/fileName.csv

If your CSV files are in a folder in your Amazon S3 bucket and you want your import job or data deletion job to consider multiple files, you can specify the path to the folder. With a data deletion job, Amazon Personalize uses all files in the folder and any sub folder. Use the following syntax with a / after the folder name:

s3://bucket-name/folder-name/

Required: No

Type: String

Pattern: (s3|http|https)://.+

Maximum: 256

Update requires: No interruption