AWS::Personalize::DatasetGroup - AWS CloudFormation

AWS::Personalize::DatasetGroup

A dataset group is a collection of related datasets (Interactions, User, and Item). You create a dataset group by calling CreateDatasetGroup. You then create a dataset and add it to a dataset group by calling CreateDataset. The dataset group is used to create and train a solution by calling CreateSolution. A dataset group can contain only one of each type of dataset.

You can specify an AWS Key Management Service (KMS) key to encrypt the datasets in the group.

Syntax

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

JSON

{ "Type" : "AWS::Personalize::DatasetGroup", "Properties" : { "Domain" : String, "KmsKeyArn" : String, "Name" : String, "RoleArn" : String } }

YAML

Type: AWS::Personalize::DatasetGroup Properties: Domain: String KmsKeyArn: String Name: String RoleArn: String

Properties

Domain

The domain of a Domain dataset group.

Required: No

Type: String

Allowed values: ECOMMERCE | VIDEO_ON_DEMAND

Update requires: Replacement

KmsKeyArn

The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key used to encrypt the datasets.

Required: No

Type: String

Maximum: 2048

Pattern: arn:aws.*:kms:.*:[0-9]{12}:key/.*

Update requires: Replacement

Name

The name of the dataset group.

Required: Yes

Type: String

Minimum: 1

Maximum: 63

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

Update requires: Replacement

RoleArn

The ARN of the IAM role that has permissions to create the dataset group.

Required: No

Type: String

Maximum: 256

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

Update requires: Replacement

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Reffunction, Refreturns the name of the resource.

For more information about using the Reffunction, see Ref.

Fn::GetAtt

The Fn::GetAttintrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAttintrinsic function, see Fn::GetAtt.

DatasetGroupArn

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