CfnDatasetProps

class aws_cdk.aws_personalize.CfnDatasetProps(*, dataset_group_arn, dataset_type, name, schema_arn, dataset_import_job=None)

Bases: object

Properties for defining a CfnDataset.

Parameters:
  • dataset_group_arn (str) – The Amazon Resource Name (ARN) of the dataset group.

  • dataset_type (str) – One of the following values:. - Interactions - Items - Users

  • name (str) – The name of the dataset.

  • schema_arn (str) – The ARN of the associated schema.

  • dataset_import_job (Union[DatasetImportJobProperty, Dict[str, Any], IResolvable, None]) – Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-dataset.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_personalize as personalize

# data_source: Any

cfn_dataset_props = personalize.CfnDatasetProps(
    dataset_group_arn="datasetGroupArn",
    dataset_type="datasetType",
    name="name",
    schema_arn="schemaArn",

    # the properties below are optional
    dataset_import_job=personalize.CfnDataset.DatasetImportJobProperty(
        dataset_arn="datasetArn",
        dataset_import_job_arn="datasetImportJobArn",
        data_source=data_source,
        job_name="jobName",
        role_arn="roleArn"
    )
)

Attributes

dataset_group_arn

The Amazon Resource Name (ARN) of the dataset group.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-dataset.html#cfn-personalize-dataset-datasetgrouparn

dataset_import_job

Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-dataset.html#cfn-personalize-dataset-datasetimportjob

dataset_type

.

  • Interactions

  • Items

  • Users

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-dataset.html#cfn-personalize-dataset-datasettype

Type:

One of the following values

name

The name of the dataset.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-dataset.html#cfn-personalize-dataset-name

schema_arn

The ARN of the associated schema.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-dataset.html#cfn-personalize-dataset-schemaarn