CfnDatasetMixinProps

class aws_cdk.mixins_preview.aws_personalize.mixins.CfnDatasetMixinProps(*, dataset_group_arn=None, dataset_import_job=None, dataset_type=None, name=None, schema_arn=None)

Bases: object

Properties for CfnDatasetPropsMixin.

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

  • 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.

  • dataset_type (Optional[str]) – One of the following values:. - Interactions - Items - Users .. epigraph:: You can’t use CloudFormation to create an Action Interactions or Actions dataset.

  • name (Optional[str]) – The name of the dataset.

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

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.mixins_preview.aws_personalize import mixins as personalize_mixins

# data_source: Any

cfn_dataset_mixin_props = personalize_mixins.CfnDatasetMixinProps(
    dataset_group_arn="datasetGroupArn",
    dataset_import_job=personalize_mixins.CfnDatasetPropsMixin.DatasetImportJobProperty(
        dataset_arn="datasetArn",
        dataset_import_job_arn="datasetImportJobArn",
        data_source=data_source,
        job_name="jobName",
        role_arn="roleArn"
    ),
    dataset_type="datasetType",
    name="name",
    schema_arn="schemaArn"
)

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