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 .. epigraph:: You can’t use CloudFormation to create an Action Interactions or Actions dataset.

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

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

  • dataset_import_job (Union[IResolvable, DatasetImportJobProperty, Dict[str, Any], None]) – 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.

See:

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.
from aws_cdk import 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.

See:

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.

If you specify a dataset import job as part of a dataset, all dataset import job fields are required.

See:

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

dataset_type

.

  • Interactions

  • Items

  • Users

You can’t use CloudFormation to create an Action Interactions or Actions dataset.

See:

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.

See:

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.

See:

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